mirror of
				https://github.com/flynx/ImageGrid.git
				synced 2025-10-31 03:10:07 +00:00 
			
		
		
		
	minor tweak/fix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									d3511f1f82
								
							
						
					
					
						commit
						1deb302729
					
				| @ -3034,15 +3034,16 @@ var BrowserPrototype = { | |||||||
| 
 | 
 | ||||||
| 			// clear selection...
 | 			// clear selection...
 | ||||||
| 			this.select(null, filtering) | 			this.select(null, filtering) | ||||||
| 			if(!filtering){ |  | ||||||
| 				browser.find('.path .dir.cur').text(elem.find('.text').text()) |  | ||||||
| 			} |  | ||||||
| 
 | 
 | ||||||
| 			// XXX not sure if this is correct...
 | 			// XXX not sure if this is correct...
 | ||||||
| 			if(elem.hasClass('disabled')){ | 			if(elem.hasClass('disabled')){ | ||||||
| 				return $() | 				return $() | ||||||
| 			} | 			} | ||||||
| 
 | 
 | ||||||
|  | 			if(!filtering){ | ||||||
|  | 				browser.find('.path .dir.cur').text(elem.find('.text').text()) | ||||||
|  | 			} | ||||||
|  | 
 | ||||||
| 			// handle scroll position...
 | 			// handle scroll position...
 | ||||||
| 			var p = elem.scrollParent() | 			var p = elem.scrollParent() | ||||||
| 			var S = p.scrollTop() | 			var S = p.scrollTop() | ||||||
| @ -3451,7 +3452,7 @@ var BrowserPrototype = { | |||||||
| 
 | 
 | ||||||
| 		// nothing selected, select first and exit...
 | 		// nothing selected, select first and exit...
 | ||||||
| 		if(elem.length == 0){ | 		if(elem.length == 0){ | ||||||
| 			this.select() | 			//this.select()
 | ||||||
| 			return this | 			return this | ||||||
| 		} | 		} | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user