bugfix...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2018-03-26 18:05:53 +03:00
parent c77c450aa1
commit 3c18655767

View File

@ -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(){