allow tag input to contain leading '#'

This commit is contained in:
Friendika 2011-10-24 17:00:22 -07:00
parent 4218e3f494
commit 3b33c0d075

View 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();