summaryrefslogtreecommitdiff
path: root/addons/web/static/lib/jquery.textext/jquery.textext.js
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web/static/lib/jquery.textext/jquery.textext.js')
-rw-r--r--addons/web/static/lib/jquery.textext/jquery.textext.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/lib/jquery.textext/jquery.textext.js b/addons/web/static/lib/jquery.textext/jquery.textext.js
index bb82ac22a17..94a78b6bb7a 100644
--- a/addons/web/static/lib/jquery.textext/jquery.textext.js
+++ b/addons/web/static/lib/jquery.textext/jquery.textext.js
@@ -2465,7 +2465,7 @@
target = $(e.target)
;
- if(target.is(CSS_DOT_SUGGESTION) || target.is(CSS_DOT_LABEL))
+ if($(CSS_DOT_SUGGESTION).has(target[0]) || $(CSS_DOT_LABEL).has(target[0]))
self.trigger('enterKeyPress');
if (self.core().hasPlugin('tags'))