1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-01 17:42:25 +01:00

Fix typo.

This commit is contained in:
Kris Maglione
2011-09-14 10:44:28 -04:00
parent 58a465707b
commit 16eea3c45a

View File

@@ -132,7 +132,7 @@ var Util = Module("Util", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference]),
Class.replaceProperty(obj, "observe",
function (subject, target, data) {
try {
if (!cleanup.indexOf(target))
if (~cleanup.indexOf(target))
register("removeObserver");
if (obj.observers[target])
obj.observers[target].call(obj, subject, data);