From 05ce141ecc13d2af754b1e055b1856e73a65d7dd Mon Sep 17 00:00:00 2001 From: RedSwede Date: Thu, 29 Jan 2015 16:30:45 +0100 Subject: small autocomplete fix adding space to the output provides: the ability to press enter after pressing enter during the mention-js-popup (this second enter should behave as a normal one) FF35 --- view/js/autocomplete.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/js/autocomplete.js') diff --git a/view/js/autocomplete.js b/view/js/autocomplete.js index 86847cb35..b93cc16b3 100644 --- a/view/js/autocomplete.js +++ b/view/js/autocomplete.js @@ -77,7 +77,7 @@ function editor_replace(item) { // 16 chars is also the minimum length in the backend (otherwise it's interpreted as a local id). if(id.length > 16) id = item.id.substring(0,16); - return '$1$2'+item.nick.replace(' ','') + '+' + id; + return '$1$2'+item.nick.replace(' ','') + '+' + id + ' '; } function basic_replace(item) { -- cgit v1.2.3