mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-06 17:14:12 +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)
|
||||
window.dactylOverlays = [];
|
||||
|
||||
defineModule.loadLog.push("load overlays " + window.document.documentURI);
|
||||
|
||||
for each (let obj in util.overlays[window.document.documentURI] || []) {
|
||||
if (window.dactylOverlays.indexOf(obj) >= 0)
|
||||
continue;
|
||||
@@ -1007,8 +1005,6 @@ var Util = Module("Util", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference]),
|
||||
if (!doc.dactylOverlayElements)
|
||||
doc.dactylOverlayElements = [];
|
||||
|
||||
defineModule.loadLog.push("load overlays " + doc.documentURI + " " + String(obj).substr(0, 60));
|
||||
|
||||
function overlay(key, fn) {
|
||||
if (obj[key]) {
|
||||
let iterator = Iterator(obj[key]);
|
||||
|
||||
Reference in New Issue
Block a user