1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-04-20 18:31:25 +02:00

Fix issue with smooth-scroll.js

This commit is contained in:
Kris Maglione
2011-06-05 18:56:33 -04:00
parent 0ed9dc335b
commit 0195b4f1c9
3 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ function checkDocument(doc, disable, force) {
}
function chromeDocuments() {
let windows = services.windowMediator.getXULWindowEnumerator(null);
let windows = Services.wm.getXULWindowEnumerator(null);
while (windows.hasMoreElements()) {
let window = windows.getNext().QueryInterface(Ci.nsIXULWindow);
for each (let type in ["typeChrome", "typeContent"]) {