mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 06:35:15 +00:00
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
This commit is contained in:
parent
06291c6f42
commit
05ce141ecc
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue