Compare commits
3 commits
724d9fbe4b
...
40fc911615
| Author | SHA1 | Date | |
|---|---|---|---|
| 40fc911615 | |||
| 853a0a8e47 | |||
| 72cddae95f |
2 changed files with 10 additions and 3 deletions
|
|
@ -116,4 +116,11 @@ html {
|
||||||
.js {
|
.js {
|
||||||
animation: 4.5s 1 linear js;
|
animation: 4.5s 1 linear js;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
}
|
||||||
|
|
||||||
|
@supports not (animation: 1s test) {
|
||||||
|
.nojs {
|
||||||
|
display: block;
|
||||||
|
visibility: visible
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -70,9 +70,9 @@ function Load (text) {
|
||||||
const loading = document.getElementsByClassName("loading")[0]
|
const loading = document.getElementsByClassName("loading")[0]
|
||||||
|
|
||||||
const r = Math.floor(Math.random() * (loadArray.length-1))
|
const r = Math.floor(Math.random() * (loadArray.length-1))
|
||||||
const loadText = loadArray[r]
|
let loadText = loadArray[r]
|
||||||
if (loadText === '') //Error message on bad string
|
|
||||||
alert("Please tell a linuxposting.xyz admin member: Error Code 0x756C2D616F6365640A72")
|
if (loadText === "") {loadText = "You should not be seeing this"}
|
||||||
|
|
||||||
loading.children[0].innerHTML = loadText + "."
|
loading.children[0].innerHTML = loadText + "."
|
||||||
loading.children[1].innerHTML = loadText + ".."
|
loading.children[1].innerHTML = loadText + ".."
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue