commit 0a1629e9862f45467d096f8bb025406fc12d9506
parent 80a0826eb61c3844e67d501e0533cfc9424051bd
Author: Dan Stillman <dstillman@zotero.org>
Date: Fri, 24 Feb 2017 02:32:54 -0500
Fix typo in debug line
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/chrome/content/zotero/xpcom/data/groups.js b/chrome/content/zotero/xpcom/data/groups.js
@@ -40,7 +40,7 @@ Zotero.Groups = new function () {
this.register = function (group) {
if (!this._cache) throw new Error("Zotero.Groups cache is not initialized");
- Zotero.debug("Zotero.Groups: Registering group " + group.id + " (" + group.libraryID + ")", 5);
+ Zotero.debug("Registering group " + group.id + " (" + group.libraryID + ")", 5);
this._addToCache(this._cache, group);
}
@@ -52,7 +52,7 @@ Zotero.Groups = new function () {
this.unregister = function (groupID) {
if (!this._cache) throw new Error("Zotero.Groups cache is not initialized");
let libraryID = this._cache.libraryIDByGroupID[groupID];
- Zotero.debug("Zotero.Groups: Unegistering group " + groupID + " (" + libraryID + ")", 5);
+ Zotero.debug("Unregistering group " + groupID + " (" + libraryID + ")", 5);
delete this._cache.groupIDByLibraryID[libraryID];
delete this._cache.libraryIDByGroupID[groupID];
}