mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-04 10:24:11 +01:00
Use evalInSandbox for :js rather than the subscript loader so that we can preserve file names/line numbers.
This commit is contained in:
@@ -731,7 +731,7 @@ const Events = Module("events", {
|
||||
let win = window.document.commandDispatcher.focusedWindow;
|
||||
let elem = window.document.commandDispatcher.focusedElement;
|
||||
|
||||
if (win && win.top == content && dactyl.has("tabs"))
|
||||
if (win && win.top == window.content && dactyl.has("tabs"))
|
||||
buffer.focusedFrame = win;
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user