diff --git a/common/content/help.js b/common/content/help.js index 5a17c0c1..10bf0414 100644 --- a/common/content/help.js +++ b/common/content/help.js @@ -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)));