summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--program/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js
index f593b32bc..2a47fa985 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -3796,7 +3796,7 @@ function rcube_webmail()
for (i=0; i<threads; i++) {
source = this.ksearch_data.sources.shift();
- if (threads > 1 && source === null)
+ if (threads > 1 && source === undefined)
break;
lock = this.display_message(this.get_label('searching'), 'loading');