mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +00:00
more tweaking...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
ea15988234
commit
8c53b856d0
@ -2267,7 +2267,8 @@ var BrowserPrototype = {
|
||||
&& that.keyboard.handler(
|
||||
'ItemShortcuts',
|
||||
opts.shortcut_key,
|
||||
function(){ that.push(res) })
|
||||
//function(){ that.push(res) })
|
||||
function(){ that.select(res) })
|
||||
|
||||
// text marker...
|
||||
if(item_shortcut_marker){
|
||||
@ -2279,7 +2280,8 @@ var BrowserPrototype = {
|
||||
&& that.keyboard.handler(
|
||||
'ItemShortcuts',
|
||||
key,
|
||||
function(){ that.push(res) })
|
||||
//function(){ that.push(res) })
|
||||
function(){ that.action(res) })
|
||||
return key
|
||||
}
|
||||
|
||||
@ -3416,8 +3418,8 @@ var BrowserPrototype = {
|
||||
//
|
||||
// NOTE: this ignores items with empty text...
|
||||
// XXX not sure about this...
|
||||
action: function(){
|
||||
var elem = this.select('!')
|
||||
action: function(elem){
|
||||
elem = this.select(elem || '!')
|
||||
|
||||
// nothing selected, select first and exit...
|
||||
if(elem.length == 0){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user