mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +00:00
minor fix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
28d9c5dc12
commit
711571bd25
@ -744,6 +744,14 @@ var KeyboardActions = actions.Actions({
|
||||
.forEach(function(mode){
|
||||
var dropped = keybindings[mode].drop || []
|
||||
var bound_ignored = []
|
||||
var buttons = edit ?
|
||||
[
|
||||
// XXX up
|
||||
['⏶', function(){}],
|
||||
// XXX down
|
||||
['⏷', function(){}],
|
||||
].concat(dialog.options.itemButtons)
|
||||
: undefined
|
||||
|
||||
// section heading...
|
||||
make(keybindings[mode].doc ?
|
||||
@ -761,13 +769,7 @@ var KeyboardActions = actions.Actions({
|
||||
not_filtered_out: true,
|
||||
// XXX should sections be searchable???
|
||||
not_searchable: true,
|
||||
|
||||
buttons: [
|
||||
// XXX up
|
||||
['⏶', function(){}],
|
||||
// XXX down
|
||||
['⏷', function(){}],
|
||||
].concat(dialog.options.itemButtons),
|
||||
buttons: buttons,
|
||||
})
|
||||
.attr('mode', mode)
|
||||
.addClass('mode')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user