mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 02:10:08 +00:00
bugfix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
c77c450aa1
commit
3c18655767
@ -543,8 +543,8 @@ if(typeof(jQuery) != typeof(undefined)){
|
|||||||
// make the element focusable and selectable...
|
// make the element focusable and selectable...
|
||||||
.attr('tabindex', '0')
|
.attr('tabindex', '0')
|
||||||
.addClass('editable-field')
|
.addClass('editable-field')
|
||||||
.keydown(events.keydown = function(evt){
|
.keydown(events.keydown = function(jqevt){
|
||||||
evt = window.event || evt
|
var evt = window.event || in_evt
|
||||||
if(!that.prop('contenteditable')){
|
if(!that.prop('contenteditable')){
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -574,7 +574,7 @@ if(typeof(jQuery) != typeof(undefined)){
|
|||||||
|
|
||||||
// continue handling...
|
// continue handling...
|
||||||
} else if(options.propagate_unhandled_keys !== false){
|
} else if(options.propagate_unhandled_keys !== false){
|
||||||
$(this).parent().trigger(evt)
|
$(this).parent().trigger(in_evt)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.blur(events.blur = function(){
|
.blur(events.blur = function(){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user