From c3ff11bb087a231b3b5597812f444f3b8235ecf9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Calvi=C3=B1o=20S=C3=A1nchez?= Date: Thu, 31 Jan 2019 13:49:43 +0100 Subject: [PATCH] Show autocompletion as soon as "@" is typed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In order to show the autocompletion it was needed to type at least another character after "@", so only the mentions that matched that character were shown. Now the autocompletion is shown as soon as "@" is typed, which shows all the possible mentions. Signed-off-by: Daniel Calviño Sánchez --- apps/comments/js/commentstabview.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/apps/comments/js/commentstabview.js b/apps/comments/js/commentstabview.js index 04b0f29229..f87cf29a7d 100644 --- a/apps/comments/js/commentstabview.js +++ b/apps/comments/js/commentstabview.js @@ -185,9 +185,6 @@ }, _onAutoComplete: function(query, callback) { - if(_.isEmpty(query)) { - return; - } var s = this; if(!_.isUndefined(this._autoCompleteRequestTimer)) { clearTimeout(this._autoCompleteRequestTimer);