From 3b33c0d075fcce7f10468ad749742950077768b3 Mon Sep 17 00:00:00 2001 From: Friendika Date: Mon, 24 Oct 2011 17:00:22 -0700 Subject: [PATCH] allow tag input to contain leading '#' --- view/jot-header.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/jot-header.tpl b/view/jot-header.tpl index b067124072..ecf27e1b17 100644 --- a/view/jot-header.tpl +++ b/view/jot-header.tpl @@ -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();