mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +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...
|
||||
this.select(null, filtering)
|
||||
if(!filtering){
|
||||
browser.find('.path .dir.cur').text(elem.find('.text').text())
|
||||
}
|
||||
|
||||
// XXX not sure if this is correct...
|
||||
if(elem.hasClass('disabled')){
|
||||
return $()
|
||||
}
|
||||
|
||||
if(!filtering){
|
||||
browser.find('.path .dir.cur').text(elem.find('.text').text())
|
||||
}
|
||||
|
||||
// handle scroll position...
|
||||
var p = elem.scrollParent()
|
||||
var S = p.scrollTop()
|
||||
@ -3451,7 +3452,7 @@ var BrowserPrototype = {
|
||||
|
||||
// nothing selected, select first and exit...
|
||||
if(elem.length == 0){
|
||||
this.select()
|
||||
//this.select()
|
||||
return this
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user