mirror of
				https://github.com/flynx/PortableMag.git
				synced 2025-10-31 03:50:16 +00:00 
			
		
		
		
	minor tweeks...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									ccd7e6ecfa
								
							
						
					
					
						commit
						45b1d6a6cd
					
				
							
								
								
									
										22
									
								
								index.html
									
									
									
									
									
								
							
							
						
						
									
										22
									
								
								index.html
									
									
									
									
									
								
							| @ -245,6 +245,17 @@ function setupEditor(){ | |||||||
| 		}) | 		}) | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  | 	window.toggleEditor = createCSSClassToggler( | ||||||
|  | 		'.chrome',  | ||||||
|  | 		'editor',  | ||||||
|  | 		function(){ | ||||||
|  | 			setTransitionDuration($('.magazine'), 0) | ||||||
|  | 		}, | ||||||
|  | 		function(){ | ||||||
|  | 			setCurrentPage($('.current.page')) | ||||||
|  | 		}) | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
| 	// move the page indicator... | 	// move the page indicator... | ||||||
| 	// NOTE: this is to be used for page-specific toolbars etc. | 	// NOTE: this is to be used for page-specific toolbars etc. | ||||||
| 	$('.viewer') | 	$('.viewer') | ||||||
| @ -263,19 +274,12 @@ function setupEditor(){ | |||||||
| 				}) | 				}) | ||||||
| 		}) | 		}) | ||||||
| } | } | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
| function clearEditor(){ | function clearEditor(){ | ||||||
| 	$('.current-page-indicator').children().remove() | 	$('.current-page-indicator').children().remove() | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| var toggleEditor = createCSSClassToggler( |  | ||||||
| 	'.chrome',  |  | ||||||
| 	'editor',  |  | ||||||
| 	function(){ |  | ||||||
| 		setTransitionDuration($('.magazine'), 0) |  | ||||||
| 	}, |  | ||||||
| 	function(){ |  | ||||||
| 		setCurrentPage($('.current.page')) |  | ||||||
| 	}) |  | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| $(document).ready(function(){ | $(document).ready(function(){ | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user