mirror of
				https://github.com/flynx/ImageGrid.git
				synced 2025-10-30 19:00:09 +00:00 
			
		
		
		
	minor fix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									526a9730e0
								
							
						
					
					
						commit
						d0e2887ec1
					
				| @ -541,17 +541,17 @@ var DataPrototype = { | ||||
| 			return this.current | ||||
| 		} | ||||
| 
 | ||||
| 		// current image shorthand...
 | ||||
| 		if(target == 'current'){ | ||||
| 			target = this.current | ||||
| 		} | ||||
| 
 | ||||
| 		// explicit image gid -- get the loaded group gid...
 | ||||
| 		if(this.order.indexOf(target) >= 0){ | ||||
| 			var x = this.getLoadedInGroup(target) | ||||
| 			target = x != null ? x : target | ||||
| 		} | ||||
| 
 | ||||
| 		// current image shorthand...
 | ||||
| 		if(target == 'current'){ | ||||
| 			target = this.current | ||||
| 		} | ||||
| 
 | ||||
| 		// order -> gid special case...
 | ||||
| 		if(typeof(target) == typeof(123)){ | ||||
| 			if(target >= this.order.length){ | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user