diff --git a/tvapp2/www/index.html b/tvapp2/www/index.html index cf81eb1f..975a65e2 100644 --- a/tvapp2/www/index.html +++ b/tvapp2/www/index.html @@ -1,9 +1,9 @@ + <%= appName %> - v<%= appVersion %> - <%= appName %> - v<%= appVersion %> @@ -383,11 +383,14 @@ dimmer.classList.remove('dimmer-in'); dimmer.classList.add('dimmer-out'); dimmer.remove(); - const iconResync = document.getElementsByClassName('fa-rotate'); - iconResync[0].classList.remove('spin'); - iconResync[0].classList.add('restart'); - setTimeout(location.reload.bind(location), 5000); + setTimeout(function() + { + const iconResync = document.getElementsByClassName('fa-rotate'); + iconResync[0].classList.remove('spin'); + iconResync[0].classList.add('restart'); + document.location.reload() + }, 5000); }, 1000); } });