]> git.mxchange.org Git - friendica.git/commitdiff
allow tag input to contain leading '#'
authorFriendika <info@friendika.com>
Tue, 25 Oct 2011 00:00:22 +0000 (17:00 -0700)
committerFriendika <info@friendika.com>
Tue, 25 Oct 2011 00:00:22 +0000 (17:00 -0700)
view/jot-header.tpl

index b0671240723900266d52f6e4ef36ee141dfd9a26..ecf27e1b179647b0643371c88d4726f6799b6536 100644 (file)
@@ -218,7 +218,7 @@ function initEditor(cb){
                $('#like-rotator-' + id).show();
                reply = prompt("$term");
                if(reply && reply.length) {
-                       reply.replace('#','');
+                       reply = reply.replace('#','');
                        if(reply.length) {
                                $.get('tagger/' + id + '?term=' + reply, function(data) {
                                        $('#like-rotator-' + id).hide();