improvement

just replace the save loading with css for better loading feature
This commit is contained in:
Focuslinkstech
2024-03-02 12:40:04 +01:00
parent a7f191f058
commit 9ab0b6a0fa
4 changed files with 64 additions and 7 deletions

View File

@ -27,7 +27,7 @@
if (el.addEventListener) { // all browsers except IE before version 9
el.addEventListener("click", function() {
$(this).html(
`<span class="glyphicon glyphicon-refresh" role="status" aria-hidden="true"></span>`
`<span class="loading"></span>`
);
setTimeout(() => {
$(this).prop("disabled", true);
@ -37,7 +37,7 @@
if (el.attachEvent) { // IE before version 9
el.attachEvent("click", function() {
$(this).html(
`<span class="glyphicon glyphicon-refresh" role="status" aria-hidden="true"></span>`
`<span class="loading"></span>`
);
setTimeout(() => {
$(this).prop("disabled", true);