1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-04 11:54:11 +01:00

Try not to reset dactylFocusAllowed on hash tag change. Closes issue #237.

This commit is contained in:
Kris Maglione
2011-01-05 14:42:39 -05:00
parent 557e8fc0c1
commit 20d978bf63
3 changed files with 13 additions and 4 deletions

View File

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