mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-17 16:42:30 +02:00
Fix pass through of <Space> to alert boxen.
This commit is contained in:
1 parent
99f3840b72
commit
4958d6854f
2 files changed
+3
-2
No files matched your search
@@ -1753,7 +1753,8 @@ var Buffer = Module("buffer", {
|
||||
mappings.add([modes.NORMAL], ["<Space>"],
|
||||
"Scroll down a full page",
|
||||
function (args) {
|
||||
if (isinstance(content.document.activeElement, [HTMLInputElement, HTMLButtonElement]))
|
||||
if (isinstance(services.focus.activeWindow.document.activeElement,
|
||||
[HTMLInputElement, HTMLButtonElement, Ci.nsIDOMXULButtonElement]))
|
||||
return Events.PASS;
|
||||
buffer.scrollVertical("pages", Math.max(args.count, 1));
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user