mirror of
https://github.com/zotero/zotero.git
synced 2026-09-23 00:43:17 +00:00
Fix error if no colored tags (regression from b310ccb04)
This commit is contained in:
parent
b310ccb04e
commit
f827f1e049
1 changed files with 3 additions and 0 deletions
|
|
@ -580,6 +580,9 @@ Zotero.Tags = new function() {
|
|||
}
|
||||
|
||||
var tagColors = Zotero.SyncedSettings.get(libraryID, 'tagColors');
|
||||
if (!tagColors) {
|
||||
tagColors = [];
|
||||
}
|
||||
_libraryColors[libraryID] = tagColors;
|
||||
_libraryColorsByName[libraryID] = new Map;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue