mirror of
https://github.com/zotero/zotero.git
synced 2026-10-05 02:43:38 +00:00
Don't use Intl until Fx30, since it's missing in Iceweasel 29
And nsICollation isn't broken on OS X until 30
This commit is contained in:
parent
479598b80c
commit
4a677240d3
1 changed files with 2 additions and 2 deletions
|
|
@ -1475,8 +1475,8 @@ Components.utils.import("resource://gre/modules/Services.jsm");
|
|||
.getService(Components.interfaces.nsILocaleService);
|
||||
var appLocale = localeService.getApplicationLocale();
|
||||
|
||||
// Use nsICollation before Fx29
|
||||
if (Zotero.platformMajorVersion < 29) {
|
||||
// Use nsICollation before Fx30
|
||||
if (Zotero.platformMajorVersion < 30) {
|
||||
var localeService = Components.classes["@mozilla.org/intl/nslocaleservice;1"]
|
||||
.getService(Components.interfaces.nsILocaleService);
|
||||
var collationFactory = Components.classes["@mozilla.org/intl/collation-factory;1"]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue