1
0
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:
Kris Maglione
2009-06-21 12:07:03 -04:00
parent 8a34f5f60d
commit c2e18373ab

View File

@@ -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)));