X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Fjot-header.tpl;h=ecf27e1b179647b0643371c88d4726f6799b6536;hb=3b33c0d075fcce7f10468ad749742950077768b3;hp=22bd0aa5b22650bfcd76be3108bc4c4bda044a12;hpb=2116943964e0c10984976f6d38eba044e35f983a;p=friendica.git diff --git a/view/jot-header.tpl b/view/jot-header.tpl index 22bd0aa5b2..ecf27e1b17 100644 --- a/view/jot-header.tpl +++ b/view/jot-header.tpl @@ -214,6 +214,19 @@ function initEditor(cb){ } } + function itemTag(id) { + $('#like-rotator-' + id).show(); + reply = prompt("$term"); + if(reply && reply.length) { + reply = reply.replace('#',''); + if(reply.length) { + $.get('tagger/' + id + '?term=' + reply, function(data) { + $('#like-rotator-' + id).hide(); + }); + } + } + } + function jotClearLocation() { $('#jot-coord').val(''); $('#profile-nolocation-wrapper').hide();