diff --git a/WebCfgServer.cpp b/WebCfgServer.cpp
index daacb29..413e6a4 100644
--- a/WebCfgServer.cpp
+++ b/WebCfgServer.cpp
@@ -744,13 +744,13 @@ void WebCfgServer::buildOtaHtml(String &response, bool errored)
if(_preferences->getBool(preference_check_updates))
{
- response.concat("");
}
response.concat("
Initiating Over-the-air update. This will take about two minutes, please be patient.
You will be forwarded automatically when the update is complete.
");
@@ -760,6 +760,7 @@ void WebCfgServer::buildOtaHtml(String &response, bool errored)
response.concat(" button.addEventListener('click',hideshow,false);");
response.concat(" function hideshow() {");
response.concat(" document.getElementById('upform').style.visibility = 'hidden';");
+ response.concat(" document.getElementById('gitdiv').style.visibility = 'hidden';");
response.concat(" document.getElementById('msgdiv').style.visibility = 'visible';");
response.concat(" }");
response.concat("});");
@@ -1368,4 +1369,4 @@ String WebCfgServer::getPreselectionForGpio(const uint8_t &pin)
}
return String((int8_t)PinRole::Disabled);
-}
+}
\ No newline at end of file