1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-31 21:33:31 +02:00

Fix non-window observers.

This commit is contained in:
Kris Maglione
2014-02-22 09:46:03 -08:00
parent b6fbf2751a
commit 86336b6cca
2 changed files with 4 additions and 2 deletions

View File

@@ -456,7 +456,9 @@ var Sanitizer = Module("sanitizer", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakRef
opt = { __proto__: opt, value: args.slice() };
}
let items = Object.keys(sanitizer.itemMap).slice(1).filter(opt.has, opt);
let items = Object.keys(sanitizer.itemMap)
.slice(1)
.filter(opt.has, opt);
function sanitize(items) {
sanitizer.range = range.native;