From 33d1736228374d13f70d1cfd158a4e99f00a5cbc Mon Sep 17 00:00:00 2001 From: git-marijus Date: Sat, 13 Jul 2013 21:40:53 +0200 Subject: [PATCH] port like button to spin.js --- view/tpl/jot-header.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/view/tpl/jot-header.tpl b/view/tpl/jot-header.tpl index ae0ccc8e8..03a23ecc8 100755 --- a/view/tpl/jot-header.tpl +++ b/view/tpl/jot-header.tpl @@ -200,12 +200,12 @@ function enableOnUser(){ function jotShare(id) { if ($('#jot-popup').length != 0) $('#jot-popup').show(); - $('#like-rotator-' + id).show(); + $('#like-rotator-' + id).spin('tiny); $.get('{{$baseurl}}/share/' + id, function(data) { if (!editor) $("#profile-jot-text").val(""); initEditor(function(){ addeditortext(data); - $('#like-rotator-' + id).hide(); + $('#like-rotator-' + id).spin(false); $(window).scrollTop(0); });