mirror of
				https://github.com/flynx/ImageGrid.git
				synced 2025-10-30 19:00:09 +00:00 
			
		
		
		
	some minor tweaks...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									ea1c86e191
								
							
						
					
					
						commit
						060f5381d4
					
				| @ -1044,8 +1044,6 @@ function loadSettings(){ | |||||||
| 
 | 
 | ||||||
| // Crop view to only given gids
 | // Crop view to only given gids
 | ||||||
| //
 | //
 | ||||||
| // Returns the original DATA object.
 |  | ||||||
| //
 |  | ||||||
| // XXX make keep_ribbons option work...
 | // XXX make keep_ribbons option work...
 | ||||||
| function cropDataToGIDs(gids, keep_ribbons){ | function cropDataToGIDs(gids, keep_ribbons){ | ||||||
| 	var cur = DATA.current | 	var cur = DATA.current | ||||||
| @ -1058,7 +1056,9 @@ function cropDataToGIDs(gids, keep_ribbons){ | |||||||
| 		], | 		], | ||||||
| 		order: DATA.order.slice(), | 		order: DATA.order.slice(), | ||||||
| 	} | 	} | ||||||
| 	DATA.current = getGIDBefore(cur, 0) | 	cur = getGIDBefore(cur, 0) | ||||||
|  | 	cur = cur == null ? gids[0] : cur | ||||||
|  | 	DATA.current = cur  | ||||||
| 
 | 
 | ||||||
| 	reloadViewer() | 	reloadViewer() | ||||||
| 	updateImages() | 	updateImages() | ||||||
|  | |||||||
| @ -254,7 +254,7 @@ var toggleSlideShowMode = createCSSClassToggler( | |||||||
| 
 | 
 | ||||||
| 			} else { | 			} else { | ||||||
| 				window._slideshow_timer != null && clearInterval(_slideshow_timer) | 				window._slideshow_timer != null && clearInterval(_slideshow_timer) | ||||||
| 				showStatus('Slideshow: stopped...') | 				showStatus('Slideshow: stopped.') | ||||||
| 				hideOverlay($('.viewer')) | 				hideOverlay($('.viewer')) | ||||||
| 			} | 			} | ||||||
| 		}) | 		}) | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user