mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 14:56:20 +00:00
Merge "(bug 47711) Fix FF specific bug"
This commit is contained in:
commit
a6d916637e
|
@ -410,7 +410,9 @@ ve.ce.Surface.prototype.onDocumentKeyPress = function ( e ) {
|
|||
}
|
||||
}
|
||||
|
||||
if ( ve.ce.isShortcutKey( e ) ||
|
||||
// FF fire keypress for arrow keys but we handle them in keydown so let's ignore
|
||||
if ( ve.ce.isArrowKey( e.keyCode ) ||
|
||||
ve.ce.isShortcutKey( e ) ||
|
||||
e.which === ve.Keys.DOM_VK_RETURN ||
|
||||
e.which === ve.Keys.DOM_VK_BACK_SPACE ||
|
||||
e.which === ve.Keys.DOM_VK_UNDEFINED ) {
|
||||
|
|
Loading…
Reference in a new issue