diff options
Diffstat (limited to 'view/jot-header.tpl')
-rw-r--r-- | view/jot-header.tpl | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/view/jot-header.tpl b/view/jot-header.tpl index 81d7d6d91..ecfed6c42 100644 --- a/view/jot-header.tpl +++ b/view/jot-header.tpl @@ -235,14 +235,18 @@ 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(); - }); + + commentBusy = true; + $('body').css('cursor', 'wait'); + + $.get('tagger/' + id + '?term=' + reply); + if(timer) clearTimeout(timer); + timer = setTimeout(NavUpdate,3000); + liking = 1; } } } |