1
0
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:
Kris Maglione
2010-10-04 21:33:39 -04:00
parent a21c2510e3
commit 2012279ad9
10 changed files with 46 additions and 53 deletions

View File

@@ -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 {