Properly handle starting Firefox in offline mode

This commit is contained in:
Dan Stillman 2008-05-30 21:44:58 +00:00
parent 465a7ab70d
commit 08073778a3

View File

@ -38,7 +38,9 @@ Zotero.Integration = new function() {
*/
function init() {
if (Zotero.Utilities.HTTP.browserIsOffline()) {
throw ('Browser is offline -- not initializing integration HTTP server');
Zotero.debug('Browser is offline -- not initializing integration HTTP server');
_registerOnlineObserver()
return;
}
// start listening on socket