mirror of
https://github.com/unraid/webgui.git
synced 2026-03-06 00:18:57 -06:00
Updated: animated spinner logic
This commit is contained in:
@@ -680,7 +680,8 @@ $(function() {
|
||||
});
|
||||
}
|
||||
$('form').append($('<input>').attr({type:'hidden', name:'csrf_token', value:'<?=$var['csrf_token']?>'}));
|
||||
setTimeout(function(){$('div.spinner').each(function(){$(this).html(unraid_logo);});},150); // display animation if page loading takes longer than 150ms
|
||||
$('div.spinner.fixed').html(unraid_logo);
|
||||
setTimeout(function(){$('div.spinner').not('.fixed').each(function(){$(this).html(unraid_logo);});},150); // display animation if page loading takes longer than 150ms
|
||||
watchdog.start();
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user