Merge branch 'main' of ssh://git.linuxposting.xyz/linuxposting/tilde-site
smh i just wanna merge some commits
This commit is contained in:
commit
853a0a8e47
1 changed files with 4 additions and 2 deletions
|
|
@ -69,8 +69,10 @@ function Load (text) {
|
|||
const loadArray = text.split("\n")
|
||||
const loading = document.getElementsByClassName("loading")[0]
|
||||
|
||||
const r = Math.floor(Math.random() * loadArray.length)
|
||||
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")
|
||||
|
||||
loading.children[0].innerHTML = loadText + "."
|
||||
loading.children[1].innerHTML = loadText + ".."
|
||||
|
|
@ -341,4 +343,4 @@ window.addEventListener("resize", () => {
|
|||
resizeTimeout = setTimeout(() => {
|
||||
document.documentElement.style.setProperty('--vh', `${window.innerHeight * 0.01}px`)
|
||||
}, 200)
|
||||
})
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue