mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-17 08:02:29 +02:00
pass all key events through to FF when in designMode
This commit is contained in:
1 parent
e261adcba4
commit
04a37997c4
1 file changed
+4
@@ -536,6 +536,10 @@ function Events() //{{{
|
||||
|
||||
var stop = true; // set to false if we should NOT consume this event but let also firefox handle it
|
||||
|
||||
var win = document.commandDispatcher.focusedWindow;
|
||||
if (win && win.document.designMode == "on")
|
||||
return true;
|
||||
|
||||
// menus have their own command handlers
|
||||
if (vimperator.modes.extended & vimperator.modes.MENU)
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user