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...
|
// update image position...
|
||||||
|
// XXX this appears to be run in the node context...
|
||||||
.keyup(function(){
|
.keyup(function(){
|
||||||
event.stopPropagation()
|
// XXX KeyboardEvent does not appear to have this...
|
||||||
|
//event.stopPropagation()
|
||||||
|
|
||||||
(that.config['status-bar-index'] || {})['live-update-on-edit']
|
if((that.config['status-bar-index'] || {})['live-update-on-edit']){
|
||||||
&& that.focusImage(i,
|
var i = parseInt($(this).text())
|
||||||
|
i = i >= 1 ? i-1
|
||||||
|
: i == null ? 'current'
|
||||||
|
: i
|
||||||
|
that.focusImage(i,
|
||||||
item.hasClass('global') ? 'global' : undefined)
|
item.hasClass('global') ? 'global' : undefined)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
.click(function(){
|
.click(function(){
|
||||||
$(this).selectText()
|
$(this).selectText()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user