port like button to spin.js
This commit is contained in:
parent
272642966b
commit
33d1736228
@ -200,12 +200,12 @@ function enableOnUser(){
|
|||||||
function jotShare(id) {
|
function jotShare(id) {
|
||||||
if ($('#jot-popup').length != 0) $('#jot-popup').show();
|
if ($('#jot-popup').length != 0) $('#jot-popup').show();
|
||||||
|
|
||||||
$('#like-rotator-' + id).show();
|
$('#like-rotator-' + id).spin('tiny);
|
||||||
$.get('{{$baseurl}}/share/' + id, function(data) {
|
$.get('{{$baseurl}}/share/' + id, function(data) {
|
||||||
if (!editor) $("#profile-jot-text").val("");
|
if (!editor) $("#profile-jot-text").val("");
|
||||||
initEditor(function(){
|
initEditor(function(){
|
||||||
addeditortext(data);
|
addeditortext(data);
|
||||||
$('#like-rotator-' + id).hide();
|
$('#like-rotator-' + id).spin(false);
|
||||||
$(window).scrollTop(0);
|
$(window).scrollTop(0);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user