1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-22 09:25:45 +01:00

Use document rather than window for localStore and dactylFocusAllowed.

This commit is contained in:
Kris Maglione
2010-12-24 05:31:14 -05:00
parent cace9f737c
commit a8d2678ad1
2 changed files with 14 additions and 10 deletions

View File

@@ -947,7 +947,7 @@ const Events = Module("events", {
let elem = event.target;
let win = elem.ownerDocument && elem.ownerDocument.defaultView || elem;
for (; win; win = win != win.parent && win.parent)
win.dactylFocusAllowed = true;
win.document.dactylFocusAllowed = true;
},
onPopupShown: function onPopupShown(event) {