Properly handle starting Firefox in offline mode
This commit is contained in:
parent
465a7ab70d
commit
08073778a3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user