diff --git a/chrome/content/zotero/xpcom/http.js b/chrome/content/zotero/xpcom/http.js index 4ff9675008..9b5c620692 100644 --- a/chrome/content/zotero/xpcom/http.js +++ b/chrome/content/zotero/xpcom/http.js @@ -384,9 +384,7 @@ Zotero.HTTP = new function() { } // Set timeout - if (options.timeout) { - xmlhttp.timeout = options.timeout; - } + xmlhttp.timeout = options.timeout || 30000; xmlhttp.ontimeout = function() { deferred.reject(new Zotero.HTTP.TimeoutException(options.timeout));