sforkowany z mirror/friendica
allow tag input to contain leading '#'
rodzic
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();
|
||||||
|
|
Ładowanie…
Reference in New Issue