mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-04 13:45:47 +01:00
pass all key events through to FF when in designMode
This commit is contained in:
@@ -428,6 +428,10 @@ function Events() //{{{
|
|||||||
|
|
||||||
var stop = true; // set to false if we should NOT consume this event but let also firefox handle it
|
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;
|
||||||
|
|
||||||
if (vimperator.hasMode(vimperator.modes.MENU))
|
if (vimperator.hasMode(vimperator.modes.MENU))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user