From 18d9295ff61adfa9e8eebbeb87d286e07bcac954 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Thu, 31 Jan 2013 19:30:48 +0400 Subject: [PATCH] minor adjustments... Signed-off-by: Alex A. Naanou --- magazine.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/magazine.js b/magazine.js index 2ed15c7..02c04d2 100755 --- a/magazine.js +++ b/magazine.js @@ -1000,15 +1000,16 @@ function createCoverPage(template){ /************************************************ 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){ removeMagazine() mag.appendTo($('.aligner')) + // XXX is this the right place for this? + setupBookmarkTouchZones() setCurrentPage(position) loadBookmarks(bookmarks != null ? bookmarks : []) setupNavigator() - // XXX is this the right place for this? - setupBookmarkTouchZones() return mag }