diff options
Diffstat (limited to 'view')
-rwxr-xr-x | view/jot-header.tpl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/view/jot-header.tpl b/view/jot-header.tpl index 482fb0e0d..251b9cdd0 100755 --- a/view/jot-header.tpl +++ b/view/jot-header.tpl @@ -209,15 +209,14 @@ function enableOnUser(){ } function jotShare(id) { + if ($('#jot-popup').length != 0) $('#jot-popup').show(); + $('#like-rotator-' + id).show(); $.get('share/' + id, function(data) { if (!editor) $("#profile-jot-text").val(""); initEditor(function(){ addeditortext(data); $('#like-rotator-' + id).hide(); - if ($('#jot-popup').length != 0){ - $('#jot-popup').show(); - } $(window).scrollTop(0); }); |