mirror of
				https://github.com/flynx/PortableMag.git
				synced 2025-10-31 12:00:11 +00:00 
			
		
		
		
	minor tweeking...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									5aacd010c7
								
							
						
					
					
						commit
						78566ae516
					
				| @ -43,10 +43,14 @@ $(document).ready(function(){ | |||||||
| 			}, | 			}, | ||||||
| 
 | 
 | ||||||
| 			pinchIn: function(event, direction, distance, duration, fingerCount, pinchZoom) { | 			pinchIn: function(event, direction, distance, duration, fingerCount, pinchZoom) { | ||||||
|  | 				if(fingerCount == 2){ | ||||||
| 					togglePageView('on') | 					togglePageView('on') | ||||||
|  | 				} | ||||||
| 			}, | 			}, | ||||||
| 			pinchOut: function(event, direction, distance, duration, fingerCount, pinchZoom) { | 			pinchOut: function(event, direction, distance, duration, fingerCount, pinchZoom) { | ||||||
|  | 				if(fingerCount == 2){ | ||||||
| 					togglePageView('off') | 					togglePageView('off') | ||||||
|  | 				} | ||||||
| 			}, | 			}, | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| @ -60,7 +64,9 @@ $(document).ready(function(){ | |||||||
| 					//togglePageView('on') | 					//togglePageView('on') | ||||||
| 				} | 				} | ||||||
| 				return true | 				return true | ||||||
| 			} | 			}, | ||||||
|  | 
 | ||||||
|  | 			fingers: $.fn.swipe.fingers.ALL | ||||||
| 		}) | 		}) | ||||||
| 	$('.button.cover').swipe({click: goToMagazineCover}) | 	$('.button.cover').swipe({click: goToMagazineCover}) | ||||||
| 	$('.button.next-article').swipe({click: nextArticle}) | 	$('.button.next-article').swipe({click: nextArticle}) | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user