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