X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=js%2Ffk.autocomplete.js;h=b1bc40be28b12f4bf99c418a044396120ee80c61;hb=ca21f1bbc81ee2f9118995f26d31270d41dd46eb;hp=b1db92c41447df473747736f08b68c8d856cad31;hpb=3ad02a749b1ae7db2a92a552a3ed1ffe545ed46f;p=friendica.git diff --git a/js/fk.autocomplete.js b/js/fk.autocomplete.js old mode 100755 new mode 100644 index b1db92c414..b1bc40be28 --- a/js/fk.autocomplete.js +++ b/js/fk.autocomplete.js @@ -104,7 +104,7 @@ ACPopup.prototype._search = function(){ else { txt = tinyMCE.activeEditor.getContent(); // alert(that.searchText + ':' + t); - newtxt = txt.replace(that.searchText,t+' '); + newtxt = txt.replace('@' + that.searchText,'@' + t +' '); tinyMCE.activeEditor.setContent(newtxt); tinyMCE.activeEditor.focus(); that.close();