1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 23:27:59 +01:00

Fix 'strictfocus' bug.

This commit is contained in:
Kris Maglione
2011-03-17 09:49:37 -04:00
parent aaa81b6e83
commit df32e17e3e

View File

@@ -354,7 +354,7 @@ var Buffer = Module("buffer", {
return true; return true;
let doc = elem.ownerDocument || elem.document || elem; let doc = elem.ownerDocument || elem.document || elem;
switch (options.get("strictfocus").getKey(doc.documentURI, "moderate")) { switch (options.get("strictfocus").getKey(doc.documentURIObject || util.newURI(doc.documentURI), "moderate")) {
case "despotic": case "despotic":
return elem.dactylFocusAllowed; return elem.dactylFocusAllowed;
case "moderate": case "moderate":