commit 0e79cf247c9a3203870745a6a09003b8fb9a3f47
parent 502f814fc4a28d092a67aa9179b2e6c44aea2f9f
Author: Simon Kornblith <simon@simonster.com>
Date: Mon, 21 Jan 2013 13:29:26 -0500
Only set timeout to 50 if undefined
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js
@@ -1454,7 +1454,7 @@ const ZOTERO_CONFIG = {
* @param {Integer} [timeout=50] Maximum number of milliseconds to wait
*/
this.wait = function (timeout) {
- if (!timeout) {
+ if (timeout === undefined) {
timeout = 50;
}
var mainThread = Zotero.mainThread;