diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js index 4e10d5784d..56bd8f217c 100644 --- a/chrome/content/zotero/xpcom/zotero.js +++ b/chrome/content/zotero/xpcom/zotero.js @@ -1410,12 +1410,13 @@ Services.scriptloader.loadSubScript("resource://zotero/polyfill.js"); newClass.prototype.constructor = newClass; } - this.getLocaleCollation = function () { return Zotero.Intl.collation; }; - this.localeCompare = Zotero.Intl.compare; + this.localeCompare = function (...args) { + return Zotero.Intl.compare(...args); + }; /* * Sets font size based on prefs -- intended for use on root element