mirror of
https://github.com/flynx/PortableMag.git
synced 2025-10-29 11:10:08 +00:00
minor adjustments...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
e57d5c4416
commit
18d9295ff6
@ -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
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user