mirror of
				https://github.com/flynx/ImageGrid.git
				synced 2025-10-31 03:10:07 +00:00 
			
		
		
		
	minor cleanup...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									7812d0d40a
								
							
						
					
					
						commit
						099cd917e4
					
				| @ -323,7 +323,6 @@ function centerImage(image, mode){ | ||||
| //		...this is to be done in the loader...
 | ||||
| 
 | ||||
| // NOTE: negative left or right will contract the ribbon...
 | ||||
| // XXX need to adjust ribbon position to compensate for ribbon shift...
 | ||||
| function extendRibbon(left, right, ribbon){ | ||||
| 	ribbon = ribbon == null ?  | ||||
| 				$('.current.image').closest('.ribbon')  | ||||
| @ -359,7 +358,7 @@ function extendRibbon(left, right, ribbon){ | ||||
| 	// compensate for the truncation...
 | ||||
| 	// XXX do we need to split this into a separate function?
 | ||||
| 	// 		...the rest of the function if pretty generic...
 | ||||
| 	// XXX for some odd reason this breaks in an unstable way when page
 | ||||
| 	// XXX for some odd reason this behaves erratically when the page 
 | ||||
| 	// 		is zoomed...
 | ||||
| 	if(left != 0){ | ||||
| 		var l = parseFloat(ribbon.css('left')) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user