Updated spinner logic

This commit is contained in:
bergware
2020-03-14 01:16:06 +01:00
parent d04bac1534
commit 51a6f6b645
7 changed files with 7 additions and 7 deletions

View File

@@ -623,7 +623,7 @@ $('.back_to_top').click(function(event) {
});
$(function() {
$('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
setTimeout(function(){$('div.spinner').not('.fixed').each(function(){$(this).html(unraid_logo);});},500); // display animation if page loading takes longer than 0.5s
shortcut.add('F1',function(){HelpButton();});
<?if ($var['regTy']=='unregistered'):?>
$('#licensetype').addClass('orange-text');