mirror of
				https://github.com/flynx/PortableMag.git
				synced 2025-10-31 20:10:13 +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 ***/ | /************************************************ 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 | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user