mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 13:30:33 +02:00
stray tabs changed to spaces, and long comment split to multiple lines
This commit is contained in:
parent
a2b1b2e0f9
commit
003c483ec6
1 changed files with 14 additions and 12 deletions
|
@ -681,7 +681,9 @@ function loaded() {
|
|||
data = JSON.parse(data);
|
||||
if (data.type == "server_script_status") {
|
||||
elServerScriptError.value = data.errorInfo;
|
||||
// If we just set elServerScriptError's diplay to block or none, we still end up with it's parent contributing 21px bottom padding even when elServerScriptError is display:none. So set it's parent to block or none
|
||||
// If we just set elServerScriptError's diplay to block or none, we still end up with
|
||||
//it's parent contributing 21px bottom padding even when elServerScriptError is display:none.
|
||||
// So set it's parent to block or none
|
||||
elServerScriptError.parentElement.style.display = data.errorInfo ? "block" : "none";
|
||||
if (data.statusRetrieved === false) {
|
||||
elServerScriptStatus.innerText = "Failed to retrieve status";
|
||||
|
|
Loading…
Reference in a new issue