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
|
@ -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…
Reference in New Issue
Block a user