aboutsummaryrefslogtreecommitdiffstats
path: root/view/js
diff options
context:
space:
mode:
authorRedSwede <redswede@riseup.net>2015-01-29 16:30:45 +0100
committerRedSwede <redswede@riseup.net>2015-01-29 16:30:45 +0100
commit05ce141ecc13d2af754b1e055b1856e73a65d7dd (patch)
tree89a552b7974f7832d8aa36c8da36fb2496d75885 /view/js
parent06291c6f4274b32dbc3b3e6ef01c80a8775f3094 (diff)
downloadvolse-hubzilla-05ce141ecc13d2af754b1e055b1856e73a65d7dd.tar.gz
volse-hubzilla-05ce141ecc13d2af754b1e055b1856e73a65d7dd.tar.bz2
volse-hubzilla-05ce141ecc13d2af754b1e055b1856e73a65d7dd.zip
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
Diffstat (limited to 'view/js')
-rw-r--r--view/js/autocomplete.js2
1 files changed, 1 insertions, 1 deletions
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) {