less annoying error warning
This commit is contained in:
parent
853a0a8e47
commit
40fc911615
1 changed files with 3 additions and 3 deletions
|
|
@ -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 + ".."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue