From db811f2c785aa1e5d37fa5085aa482406cdc309b Mon Sep 17 00:00:00 2001 From: Hieromon Ikasamo Date: Fri, 10 Apr 2020 23:58:48 +0900 Subject: [PATCH] Fixed AutoConnectOTA JS syntax error --- src/AutoConnectOTAPage.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/AutoConnectOTAPage.h b/src/AutoConnectOTAPage.h index 5ad293e..8a8c67e 100644 --- a/src/AutoConnectOTAPage.h +++ b/src/AutoConnectOTAPage.h @@ -12,9 +12,9 @@ const AutoConnectOTA::ACElementProp_t AutoConnectOTA::_elmUpdate[] PROGMEM = { { AC_Style, "s_rc", ".s_rc{display:none}", nullptr }, - { AC_Text, "caption", "

" AUTOCONNECT_TEXT_UPDATINGFIRMWARE "

", nullptr }, + { AC_Text, "cap", "

" AUTOCONNECT_TEXT_UPDATINGFIRMWARE "

", nullptr }, { AC_File, "bin", nullptr, AUTOCONNECT_TEXT_SELECTFIRMWARE }, - { AC_Button, "update", AUTOCONNECT_BUTTONLABEL_UPDATE, "_upd(this, 'bin', '" AUTOCONNECT_URI_UPDATE_ACT "')" }, + { AC_Button, "update", AUTOCONNECT_BUTTONLABEL_UPDATE, "_upd(this,'bin','" AUTOCONNECT_URI_UPDATE_ACT "')" }, { AC_Element, "js", "", nullptr } };