diff options
Diffstat (limited to 'view/jot-header.tpl')
-rw-r--r-- | view/jot-header.tpl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/view/jot-header.tpl b/view/jot-header.tpl index 22bd0aa5b..b06712407 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.replace('#',''); + if(reply.length) { + $.get('tagger/' + id + '?term=' + reply, function(data) { + $('#like-rotator-' + id).hide(); + }); + } + } + } + function jotClearLocation() { $('#jot-coord').val(''); $('#profile-nolocation-wrapper').hide(); |