mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 17:27:58 +01:00
Don't derive Text Edit mode from Operator mode. Allow escaping from Operator mode.
This commit is contained in:
@@ -1753,11 +1753,7 @@ var Buffer = Module("buffer", {
|
||||
mappings.add([modes.NORMAL], ["<Space>"],
|
||||
"Scroll down a full page",
|
||||
function (args) {
|
||||
if (isinstance(services.focus.activeWindow.document.activeElement,
|
||||
[HTMLInputElement, HTMLButtonElement, Ci.nsIDOMXULButtonElement]))
|
||||
return Events.PASS;
|
||||
|
||||
if (isinstance(buffer.focusedFrame.document.activeElement,
|
||||
if (isinstance((services.focus.focusedWindow || content).document.activeElement,
|
||||
[HTMLInputElement, HTMLButtonElement, Ci.nsIDOMXULButtonElement]))
|
||||
return Events.PASS;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user