diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js index 30cc02f2f..a8064121f 100644 --- 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;