less annoying error warning

This commit is contained in:
Luna 2025-11-16 00:38:09 -03:00
parent 853a0a8e47
commit 40fc911615

View file

@ -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 + ".."