mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 02:35:12 +00:00
port like button to spin.js
This commit is contained in:
parent
272642966b
commit
33d1736228
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue