Do not bind to Zotero.Intl before it has been imported
This commit is contained in:
parent
4a97529b66
commit
94539ceac5
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue