diff options
-rw-r--r-- | program/js/common.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/program/js/common.js b/program/js/common.js index f4446c21c..76643068d 100644 --- a/program/js/common.js +++ b/program/js/common.js @@ -288,6 +288,7 @@ is_keyboard: function(e) return e && ( (e.pointerType !== undefined && e.pointerType !== 'mouse') || // IE 11+ (e.mozInputSource && e.mozInputSource == e.MOZ_SOURCE_KEYBOARD) || // Firefox + (e.offsetX === 0 && e.offsetY === 0) || // Opera (!e.pageX && (e.pageY || 0) <= 0 && !e.clientX && (e.clientY || 0) <= 0) || // others (bw.ie && rcube_event._last_keyboard_event && rcube_event._last_keyboard_event.target == e.target) // hack for IE <= 10 ); |