allow tag input to contain leading '#'
This commit is contained in:
parent
4218e3f494
commit
3b33c0d075
|
@ -218,7 +218,7 @@ function initEditor(cb){
|
||||||
$('#like-rotator-' + id).show();
|
$('#like-rotator-' + id).show();
|
||||||
reply = prompt("$term");
|
reply = prompt("$term");
|
||||||
if(reply && reply.length) {
|
if(reply && reply.length) {
|
||||||
reply.replace('#','');
|
reply = reply.replace('#','');
|
||||||
if(reply.length) {
|
if(reply.length) {
|
||||||
$.get('tagger/' + id + '?term=' + reply, function(data) {
|
$.get('tagger/' + id + '?term=' + reply, function(data) {
|
||||||
$('#like-rotator-' + id).hide();
|
$('#like-rotator-' + id).hide();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user