From d2945a93755520f8cdc869c2a4328e469a8ffd2b Mon Sep 17 00:00:00 2001 From: Daniel Calviño Sánchez Date: Thu, 31 Jan 2019 13:49:43 +0100 Subject: 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(-) (limited to 'apps') diff --git a/apps/comments/js/commentstabview.js b/apps/comments/js/commentstabview.js index 04b0f292299..f87cf29a7d1 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); -- cgit v1.2.3