mirror of
				https://github.com/flynx/PortableMag.git
				synced 2025-10-31 12:00:11 +00:00 
			
		
		
		
	trying to fix the android load bug...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									aa2d9666d6
								
							
						
					
					
						commit
						b3c49c9b0f
					
				
							
								
								
									
										3
									
								
								TODO.otl
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								TODO.otl
									
									
									
									
									
								
							| @ -9,6 +9,9 @@ | |||||||
| 		[_] add in-page live templates... | 		[_] add in-page live templates... | ||||||
| 		| elements that will get generated content, like page numbers etc. | 		| elements that will get generated content, like page numbers etc. | ||||||
| 		[_] BUG: initial load on android does not center on the correct page... | 		[_] BUG: initial load on android does not center on the correct page... | ||||||
|  | 		| for some odd reason only one of the first and second pages are opened  | ||||||
|  | 		| correctly, any other page results in showing the second page and any  | ||||||
|  | 		| click focuses the correct page... | ||||||
| 		[_] magazine loader and data format... | 		[_] magazine loader and data format... | ||||||
| 		| this is simple, just use a restyled magazine viewer... | 		| this is simple, just use a restyled magazine viewer... | ||||||
| 		[_] 0% populate an example issue | 		[_] 0% populate an example issue | ||||||
|  | |||||||
							
								
								
									
										10
									
								
								index.html
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								index.html
									
									
									
									
									
								
							| @ -115,7 +115,15 @@ $(document).ready(function(){ | |||||||
| 	// hide the splash screen... | 	// hide the splash screen... | ||||||
| 	$(window).one('webkitTransitionEnd oTransitionEnd msTransitionEnd transitionend', | 	$(window).one('webkitTransitionEnd oTransitionEnd msTransitionEnd transitionend', | ||||||
| 		function(){ | 		function(){ | ||||||
| 			setTimeout(function(){$('.splash').fadeOut()}, 50) | 			// XXX try and fix the android bug... | ||||||
|  | 			setTimeout(function(){ | ||||||
|  | 				//updateView() | ||||||
|  | 				setCurrentPage() | ||||||
|  | 			}, 50) | ||||||
|  | 			// hide the splash... | ||||||
|  | 			setTimeout(function(){ | ||||||
|  | 				$('.splash').fadeOut() | ||||||
|  | 			}, 100) | ||||||
| 		}) | 		}) | ||||||
| }) | }) | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user