File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -1098,7 +1098,7 @@ const Events = Module("events", {
10981098
10991099 onKeyUpOrDown : function ( event ) {
11001100 // Always let the event be handled by the webpage/Firefox for certain modes
1101- if ( modes . passNextKey || modes . isMenuShown || Events . isInputElemFocused ( ) )
1101+ if ( modes . passNextKey || modes . isMenuShown )
11021102 return ;
11031103
11041104 let key = events . toString ( event ) ;
@@ -1120,6 +1120,10 @@ const Events = Module("events", {
11201120 return ;
11211121 }
11221122
1123+ if ( liberator . mode == modes . INSERT || liberator . mode == modes . TEXTAREA ) {
1124+ return ;
1125+ }
1126+
11231127 let url = typeof ( buffer ) != "undefined" ? buffer . URL : "" ;
11241128 let inputStr = this . _input . buffer + key ;
11251129 let countStr = inputStr . match ( / ^ [ 1 - 9 ] [ 0 - 9 ] * | / ) [ 0 ] ;
You can’t perform that action at this time.
0 commit comments