diff --git a/chrome/content/zotero/preferences/preferences_sync.js b/chrome/content/zotero/preferences/preferences_sync.js index 9880f1bae..f3fd882ba 100644 --- a/chrome/content/zotero/preferences/preferences_sync.js +++ b/chrome/content/zotero/preferences/preferences_sync.js @@ -50,8 +50,9 @@ Zotero_Preferences.Sync = { } catch (e) { // API key wrong/invalid - if (!(e instanceof Zotero.HTTP.UnexpectedStatusException) && - !(e instanceof Zotero.HTTP.TimeoutException)) { + if (!(e instanceof Zotero.HTTP.UnexpectedStatusException) + && !(e instanceof Zotero.HTTP.TimeoutException) + && !(e instanceof Zotero.HTTP.BrowserOfflineException)) { Zotero.alert( window, Zotero.getString('general.error'),