Fix deregistration of auto-sync listener
This commit is contained in:
parent
2320385fa8
commit
12da3f00dc
|
@ -161,7 +161,7 @@ Zotero.Sync.EventListeners.AutoSyncListener = {
|
|||
|
||||
unregister: function () {
|
||||
if (this._observerID) {
|
||||
Zotero.Notifier.unregisterObserver(_observerID);
|
||||
Zotero.Notifier.unregisterObserver(this._observerID);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user