aboutsummaryrefslogtreecommitdiffstats
path: root/src/recipient-search.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/recipient-search.js')
-rw-r--r--src/recipient-search.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/recipient-search.js b/src/recipient-search.js
index 20083ee..8d1ae84 100644
--- a/src/recipient-search.js
+++ b/src/recipient-search.js
@@ -252,7 +252,7 @@ export function makeSearcher(onUpdate) {
if (my === seq) onUpdate(q, rows);
}, wait);
},
- clear() { seq++; clearTimeout(timer); onUpdate('', null); },
+ clear(notify = true) { seq++; clearTimeout(timer); if (notify) onUpdate('', null); },
};
}