commit bd1d298ee923bfa4eb54abadc81f3638974cf161
parent c6b30b94e4a25d942968cbbce2e322833ff7e40b
Author: Simon Kornblith <simon@simonster.com>
Date: Wed, 20 Jul 2011 03:12:31 +0000
Fix a strict mode warning
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js
@@ -701,7 +701,7 @@ if(appInfo.platformVersion[0] >= 2) {
while(_waitingForDBLock && !Zotero.closing && Date.now() < timeout) {
Zotero.mainThread.processNextEvent(true);
}
- if(Zotero.closing) return;
+ if(Zotero.closing) return false;
// We will want to broadcast when initialization completes
_broadcastInitComplete = true;