mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-30 03:52:29 +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;
|
||||
|
||||
let page = liberator.findHelp(decodeURIComponent(document.location.search.substr(1)));
|
||||
|
||||
Reference in New Issue
Block a user