mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 18:30:09 +00:00
minor bugfix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
04dcf93c0c
commit
7e03d3c3f6
@ -139,12 +139,19 @@ var StatusBarActions = actions.Actions({
|
||||
}
|
||||
})
|
||||
// update image position...
|
||||
// XXX this appears to be run in the node context...
|
||||
.keyup(function(){
|
||||
event.stopPropagation()
|
||||
// XXX KeyboardEvent does not appear to have this...
|
||||
//event.stopPropagation()
|
||||
|
||||
(that.config['status-bar-index'] || {})['live-update-on-edit']
|
||||
&& that.focusImage(i,
|
||||
if((that.config['status-bar-index'] || {})['live-update-on-edit']){
|
||||
var i = parseInt($(this).text())
|
||||
i = i >= 1 ? i-1
|
||||
: i == null ? 'current'
|
||||
: i
|
||||
that.focusImage(i,
|
||||
item.hasClass('global') ? 'global' : undefined)
|
||||
}
|
||||
})
|
||||
.click(function(){
|
||||
$(this).selectText()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user