diff --git a/assets/animations.css b/assets/animations.css index 9fa030f..8446d90 100644 --- a/assets/animations.css +++ b/assets/animations.css @@ -116,4 +116,11 @@ html { .js { animation: 4.5s 1 linear js; position: fixed; +} + +@supports not (animation: 1s test) { + .nojs { + display: block; + visibility: visible + } } \ No newline at end of file diff --git a/assets/main.js b/assets/main.js index 7eb247f..df416ed 100644 --- a/assets/main.js +++ b/assets/main.js @@ -70,9 +70,9 @@ function Load (text) { const loading = document.getElementsByClassName("loading")[0] const r = Math.floor(Math.random() * (loadArray.length-1)) - const loadText = loadArray[r] - if (loadText === '') //Error message on bad string - alert("Please tell a linuxposting.xyz admin member: Error Code 0x756C2D616F6365640A72") + let loadText = loadArray[r] + + if (loadText === "") {loadText = "You should not be seeing this"} loading.children[0].innerHTML = loadText + "." loading.children[1].innerHTML = loadText + ".."