mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-03-21 21:10:00 +01:00
Adds animated loading gif.
This commit is contained in:
parent
84f543aca5
commit
1b0c9d81ac
BIN
src/_h5ai/images/loading.gif
Normal file
BIN
src/_h5ai/images/loading.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 847 B |
@ -48,9 +48,9 @@
|
||||
|
||||
return settings.h5aiAbsHref + "php/api.php";
|
||||
},
|
||||
image = function (id) {
|
||||
image = function (id, noPngExt) {
|
||||
|
||||
return settings.h5aiAbsHref + "images/" + id + ".png";
|
||||
return settings.h5aiAbsHref + "images/" + id + (noPngExt ? "" : ".png");
|
||||
},
|
||||
icon = function (id, big) {
|
||||
|
||||
|
@ -98,7 +98,7 @@
|
||||
.find("a").click(function () {
|
||||
|
||||
$('#download').addClass('zipping');
|
||||
$('#download img').attr('src', H5AI.core.image("loading"));
|
||||
$('#download img').attr('src', H5AI.core.image("loading.gif", true));
|
||||
$.ajax({
|
||||
url: H5AI.core.api(),
|
||||
data: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user