diff --git a/index.html b/index.html index c4ee7d1..2175a45 100644 --- a/index.html +++ b/index.html @@ -3640,7 +3640,7 @@ let elem = document.getElementById("gametext") let selection = window.getSelection(); let fullySelected = (elem.innerText!="" && selection.toString() === elem.innerText); - if(fullySelected) + if(fullySelected || elem.innerText.trim()=="") { document.execCommand('selectAll', false, null); document.execCommand('insertText', false, ""); @@ -10240,7 +10240,7 @@ document.getElementById("topbtn_ai").classList.add("hidden"); document.getElementById("topbtn_newgame").classList.remove("hidden"); document.getElementById("topbtn_save_load").classList.remove("hidden"); - document.getElementById("topbtn_settings").classList.add("hidden"); + document.getElementById("topbtn_settings").classList.remove("hidden"); document.getElementById("topbtn_scenarios").classList.add("hidden"); document.getElementById("topbtn_quickplay").classList.add("hidden"); } else {