mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-23 13:05:48 +01:00
Don't use Cc in common/content/help.js; it's not defined there.
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
|
|
||||||
const win = Cc["@mozilla.org/embedcomp/window-watcher;1"].getService(Ci.nsIWindowWatcher).activeWindow;
|
const win = Components.classes["@mozilla.org/embedcomp/window-watcher;1"]
|
||||||
|
.getService(Ci.nsIWindowWatcher)
|
||||||
|
.activeWindow;
|
||||||
const liberator = win.liberator;
|
const liberator = win.liberator;
|
||||||
|
|
||||||
let page = liberator.findHelp(decodeURIComponent(document.location.search.substr(1)));
|
let page = liberator.findHelp(decodeURIComponent(document.location.search.substr(1)));
|
||||||
|
|||||||
Reference in New Issue
Block a user