diff --git a/chrome/content/zotero/bindings/tagsbox.xml b/chrome/content/zotero/bindings/tagsbox.xml index 4db6c61550..0a5edc33cb 100644 --- a/chrome/content/zotero/bindings/tagsbox.xml +++ b/chrome/content/zotero/bindings/tagsbox.xml @@ -139,7 +139,7 @@ val.split("/")[1] == 'tagColors') && this.item) { this.reload(); return; } @@ -227,7 +227,7 @@ // Sort tags alphabetically var collation = Zotero.getLocaleCollation(); - tags.sort(function (a, b) collation.compareString(1, a.tag, b.tag)); + tags.sort((a, b) => collation.compareString(1, a.tag, b.tag)); for (let i=0; i val.trim()); // Modifying existing tag with a single new one if (!isNew && tags.length < 2) {