mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-22 16:35:45 +01:00
Don't report on the loading of overlays.
This commit is contained in:
@@ -993,8 +993,6 @@ var Util = Module("Util", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference]),
|
|||||||
if (!window.dactylOverlays)
|
if (!window.dactylOverlays)
|
||||||
window.dactylOverlays = [];
|
window.dactylOverlays = [];
|
||||||
|
|
||||||
defineModule.loadLog.push("load overlays " + window.document.documentURI);
|
|
||||||
|
|
||||||
for each (let obj in util.overlays[window.document.documentURI] || []) {
|
for each (let obj in util.overlays[window.document.documentURI] || []) {
|
||||||
if (window.dactylOverlays.indexOf(obj) >= 0)
|
if (window.dactylOverlays.indexOf(obj) >= 0)
|
||||||
continue;
|
continue;
|
||||||
@@ -1007,8 +1005,6 @@ var Util = Module("Util", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference]),
|
|||||||
if (!doc.dactylOverlayElements)
|
if (!doc.dactylOverlayElements)
|
||||||
doc.dactylOverlayElements = [];
|
doc.dactylOverlayElements = [];
|
||||||
|
|
||||||
defineModule.loadLog.push("load overlays " + doc.documentURI + " " + String(obj).substr(0, 60));
|
|
||||||
|
|
||||||
function overlay(key, fn) {
|
function overlay(key, fn) {
|
||||||
if (obj[key]) {
|
if (obj[key]) {
|
||||||
let iterator = Iterator(obj[key]);
|
let iterator = Iterator(obj[key]);
|
||||||
|
|||||||
Reference in New Issue
Block a user