mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +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...
|
||||
.attr('tabindex', '0')
|
||||
.addClass('editable-field')
|
||||
.keydown(events.keydown = function(evt){
|
||||
evt = window.event || evt
|
||||
.keydown(events.keydown = function(jqevt){
|
||||
var evt = window.event || in_evt
|
||||
if(!that.prop('contenteditable')){
|
||||
return
|
||||
}
|
||||
@ -574,7 +574,7 @@ if(typeof(jQuery) != typeof(undefined)){
|
||||
|
||||
// continue handling...
|
||||
} else if(options.propagate_unhandled_keys !== false){
|
||||
$(this).parent().trigger(evt)
|
||||
$(this).parent().trigger(in_evt)
|
||||
}
|
||||
})
|
||||
.blur(events.blur = function(){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user