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
@ -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).
|
// 16 chars is also the minimum length in the backend (otherwise it's interpreted as a local id).
|
||||||
if(id.length > 16)
|
if(id.length > 16)
|
||||||
id = item.id.substring(0,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) {
|
function basic_replace(item) {
|
||||||
|
Reference in New Issue
Block a user