From 4a677240d36365fc29cd675ed744f6b5e4cb0835 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Fri, 27 Jun 2014 01:12:25 -0400 Subject: [PATCH] Don't use Intl until Fx30, since it's missing in Iceweasel 29 And nsICollation isn't broken on OS X until 30 --- chrome/content/zotero/xpcom/zotero.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js index 4925bfe6a2..7ad6012967 100644 --- 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"]