diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-09-26 13:02:11 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-09-26 13:02:11 +0200 |
commit | ea5262a0df3d6f8ed6c1d26f272982c9ee6cbf8e (patch) | |
tree | 444219ce5950c03ab5485353f92e38734cadf28a /view/tpl/msg-header.tpl | |
parent | 741af8c1644a16f1ec44064090013953232bdce9 (diff) | |
download | volse-hubzilla-ea5262a0df3d6f8ed6c1d26f272982c9ee6cbf8e.tar.gz volse-hubzilla-ea5262a0df3d6f8ed6c1d26f272982c9ee6cbf8e.tar.bz2 volse-hubzilla-ea5262a0df3d6f8ed6c1d26f272982c9ee6cbf8e.zip |
get rid of spinner.js in use a lightweight css spinner instead
Diffstat (limited to 'view/tpl/msg-header.tpl')
-rwxr-xr-x | view/tpl/msg-header.tpl | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/view/tpl/msg-header.tpl b/view/tpl/msg-header.tpl index 48bf5de4b..d71d432fb 100755 --- a/view/tpl/msg-header.tpl +++ b/view/tpl/msg-header.tpl @@ -12,7 +12,7 @@ dropZone: $('#prvmail-text'), maxChunkSize: 4 * 1024 * 1024, add: function(e,data) { - $('#prvmail-rotator').spin('tiny'); + $('#prvmail-rotator').show(); data.submit(); }, done: function(e,data) { @@ -21,7 +21,7 @@ }, stop: function(e,data) { preview_mail(); - $('#prvmail-rotator').spin(false); + $('#prvmail-rotator').hide(); }, }); @@ -34,11 +34,11 @@ function prvmailJotGetLink() { reply = prompt("{{$linkurl}}"); if(reply && reply.length) { - $('#prvmail-rotator').spin('tiny'); + $('#prvmail-rotator').show(); $.get('linkinfo?f=&url=' + reply, function(data) { addmailtext(data); preview_mail(); - $('#prvmail-rotator').spin(false); + $('#prvmail-rotator').hide(); }); } } @@ -61,11 +61,11 @@ event.target.textContent = reply; event.preventDefault(); if(reply && reply.length) { - $('#prvmail-rotator').spin('tiny'); + $('#prvmail-rotator').show(); $.get('linkinfo?f=&url=' + reply, function(data) { addmailtext(data); preview_mail(); - $('#prvmail-rotator').spin(false); + $('#prvmail-rotator').hide(); }); } } |