minor adjustments...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2013-01-31 19:30:48 +04:00
parent e57d5c4416
commit 18d9295ff6

View File

@ -1000,15 +1000,16 @@ function createCoverPage(template){
/************************************************ editor: magazine ***/ /************************************************ editor: magazine ***/
// XXX setup event handlers... // NOTE: we do not need to create any event handlers here specifically
// as all events are ahndled by the viewer...
function loadMagazine(mag, position, bookmarks){ function loadMagazine(mag, position, bookmarks){
removeMagazine() removeMagazine()
mag.appendTo($('.aligner')) mag.appendTo($('.aligner'))
// XXX is this the right place for this?
setupBookmarkTouchZones()
setCurrentPage(position) setCurrentPage(position)
loadBookmarks(bookmarks != null ? bookmarks : []) loadBookmarks(bookmarks != null ? bookmarks : [])
setupNavigator() setupNavigator()
// XXX is this the right place for this?
setupBookmarkTouchZones()
return mag return mag
} }