mirror of
https://github.com/unraid/webgui.git
synced 2026-03-06 09:09:07 -06:00
Updated: animated spinner logic
This commit is contained in:
@@ -596,6 +596,7 @@ $('.back_to_top').click(function(event) {
|
||||
return false;
|
||||
});
|
||||
$(function() {
|
||||
setTimeout(function(){$('div.spinner').not('.fixed').each(function(){$(this).html(unraid_logo);});},150); // display animation if page loading takes longer than 150ms
|
||||
shortcut.add('F1',function(){HelpButton();});
|
||||
<?if ($var['regTy']=='unregistered'):?>
|
||||
$('#licensetype').addClass('orange-text');
|
||||
@@ -681,7 +682,6 @@ $(function() {
|
||||
});
|
||||
}
|
||||
$('form').append($('<input>').attr({type:'hidden', name:'csrf_token', value:'<?=$var['csrf_token']?>'}));
|
||||
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