mirror of
https://github.com/unraid/webgui.git
synced 2026-04-28 13:59:21 -05:00
Changed delay to show spinner to 150ms
This avoids unnecessary showing of the spinner when pages load "quick"
This commit is contained in:
@@ -575,7 +575,7 @@ $(function() {
|
||||
});
|
||||
}
|
||||
$('form').append($('<input>').attr({type:'hidden', name:'csrf_token', value:'<?=$var['csrf_token']?>'}));
|
||||
setTimeout(function(){$('div.spinner').each(function(){$(this).html(unraid_logo);});},100); // display animation if longer than 100ms
|
||||
setTimeout(function(){$('div.spinner').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