mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-23 14:15:47 +01:00
Fix all the things. And break most of the other things, in all likelihood.
This commit is contained in:
@@ -160,7 +160,7 @@ var Browser = Module("browser", XPCOM(Ci.nsISupportsWeakReference, ModuleBase),
|
||||
let oldURI = overlay.getData(win.document)["uri"];
|
||||
if (overlay.getData(win.document)["load-idx"] === webProgress.loadedTransIndex
|
||||
|| !oldURI || uri.spec.replace(/#.*/, "") !== oldURI.replace(/#.*/, ""))
|
||||
for (let frame in values(buffer.allFrames(win)))
|
||||
for (let frame of values(buffer.allFrames(win)))
|
||||
overlay.setData(frame.document, "focus-allowed", false);
|
||||
|
||||
overlay.setData(win.document, "uri", uri.spec);
|
||||
|
||||
Reference in New Issue
Block a user