summaryrefslogtreecommitdiff
path: root/addons/mail/static/src
diff options
context:
space:
mode:
Diffstat (limited to 'addons/mail/static/src')
-rw-r--r--addons/mail/static/src/js/composer.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/mail/static/src/js/composer.js b/addons/mail/static/src/js/composer.js
index 1d5b75bbbab..4ca2ca6483c 100644
--- a/addons/mail/static/src/js/composer.js
+++ b/addons/mail/static/src/js/composer.js
@@ -34,7 +34,7 @@ var Composer = Widget.extend({
input_max_height: 150,
input_min_height: 28,
mention_delimiter: '@',
- mention_min_length: 2,
+ mention_min_length: 0,
mention_typing_speed: 400,
mention_fetch_limit: 8,
});
@@ -197,7 +197,7 @@ var Composer = Widget.extend({
// Otherwise, check if a mention is typed
default:
this.mention_word = this.mention_detect_delimiter();
- if (this.mention_word) {
+ if (this.mention_word !== false) {
this.mention_word_changed();
} else {
this.set('mention_partners', []); // close the dropdown