Merge pull request #126 from GGodPL/main

This commit is contained in:
slweeb 2023-08-28 20:01:23 -04:00 committed by GitHub
commit 6df8b56337
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 3 deletions

View File

@ -19,9 +19,12 @@ settingsManager.registerTab(settingsTab);
runAfterLoadList.push(() => {
// the game doesn't load without the setTimeout
setTimeout(() => {
document.getElementById("elementButton-select").style.backgroundColor = "transparent";
document.getElementById("elementButton-select").style.border = "2px dashed rgba(255, 255, 255, 0.75)";
document.getElementById("elementButton-select").classList = ["elementButton"];
// well apparently the game crashes anyway
try {
document.getElementById("elementButton-select").style.backgroundColor = "transparent";
document.getElementById("elementButton-select").style.border = "2px dashed rgba(255, 255, 255, 0.75)";
document.getElementById("elementButton-select").classList = ["elementButton"];
} catch (_) {}
}, 1)
})