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:
@@ -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"]) {
|
||||
|
||||
Reference in New Issue
Block a user