diff --git a/platforms/emscripten/shell.html b/platforms/emscripten/shell.html index 4d921a35ad1..2679989016f 100644 --- a/platforms/emscripten/shell.html +++ b/platforms/emscripten/shell.html @@ -57,6 +57,9 @@ color: #fff; border-bottom-color: #fff; } + button:disabled.nav-link { + opacity: 0.65; + } .emscripten { padding-right: 0; margin-left: auto; margin-right: auto; display: block; } textarea.emscripten { font-family: monospace; width: 80%; } div.emscripten { text-align: center; color: rgb(148 163 184); } @@ -356,7 +359,7 @@ Get the Full Version Donate - Options + @@ -990,6 +993,7 @@

Update Required

document.getElementById('loading-error').style.display = 'block'; document.getElementById('loading-error-message').innerText = errorStr; document.getElementById('loading-game').style.display = 'none'; + document.getElementById('nav-options-button').disabled = false; wz_js_display_loading_indicator(0); } function wz_display_runtime_error(errorStr) { @@ -1116,6 +1120,7 @@

Update Required

document.getElementById('loading-game').style.display = 'block'; document.getElementById('launch-game').style.display = 'none'; document.getElementById('footer').style.display = 'none'; + document.getElementById('nav-options-button').disabled = true; window.scroll({ top: 0, left: 0, @@ -1625,6 +1630,7 @@

Update Required

document.getElementById('emscripten_container').style.display = 'none'; document.getElementById('post-exit').style.display = 'block'; document.getElementById('footer').style.display = 'block'; + document.getElementById('nav-options-button').disabled = false; } window.onerror = function(event) {