mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 12:27:58 +01:00
Fix 'strictfocus' bug.
This commit is contained in:
@@ -354,7 +354,7 @@ var Buffer = Module("buffer", {
|
||||
return true;
|
||||
|
||||
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":
|
||||
return elem.dactylFocusAllowed;
|
||||
case "moderate":
|
||||
|
||||
Reference in New Issue
Block a user