More concise version of f827f1e04
This commit is contained in:
parent
f827f1e049
commit
96caed8453
1 changed files with 1 additions and 4 deletions
|
@ -579,10 +579,7 @@ Zotero.Tags = new function() {
|
|||
return _libraryColorsByName[libraryID];
|
||||
}
|
||||
|
||||
var tagColors = Zotero.SyncedSettings.get(libraryID, 'tagColors');
|
||||
if (!tagColors) {
|
||||
tagColors = [];
|
||||
}
|
||||
var tagColors = Zotero.SyncedSettings.get(libraryID, 'tagColors') || [];
|
||||
_libraryColors[libraryID] = tagColors;
|
||||
_libraryColorsByName[libraryID] = new Map;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue