Revert "Updated: animated spinner logic"

This reverts commit c0c1e769d5.
This commit is contained in:
bergware
2020-02-16 11:46:22 +01:00
parent c0c1e769d5
commit 48fcdc2aad

View File

@@ -3,6 +3,7 @@
<head>
<meta name="robots" content="noindex, nofollow">
<meta http-equiv="Content-Security-Policy" content="block-all-mixed-content">
<meta name="referrer" content="same-origin">
<style>
@font-face{
font-family:'clear-sans';font-weight:normal;font-style:normal;
@@ -53,7 +54,7 @@ function addLog(logLine) {
}
function disablePage() {
setTimeout(function(){top.document.getElementsByClassName('spinner fixed')[0].style.display = 'block';},150); // show spinner when operation takes longer than 150ms
top.document.getElementsByClassName('spinner fixed')[0].style.display = 'block';
for (var i=0,element; element=top.document.querySelectorAll('input,button,select')[i]; i++) element.disabled = true;
for (var i=0,link; link=top.document.getElementsByTagName('a')[i]; i++) link.style.color = "gray"; //fake disable
}