commit 4a677240d36365fc29cd675ed744f6b5e4cb0835
parent 479598b80c94f520111b505d0d4d4f6fe5e42dbc
Author: Dan Stillman <dstillman@zotero.org>
Date: Fri, 27 Jun 2014 01:12:25 -0400
Don't use Intl until Fx30, since it's missing in Iceweasel 29
And nsICollation isn't broken on OS X until 30
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js
@@ -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"]