From a45d40f158157cc0eb431812eec7d954574d36aa Mon Sep 17 00:00:00 2001 From: Simone <26844016+simonebortolin@users.noreply.github.com> Date: Wed, 18 Jan 2023 19:45:23 +0100 Subject: hotfix toggle (#130) Co-authored-by: Simone Bortolin --- _includes/ymodem_lantiq.html | 4 ++-- _layouts/default.html | 2 +- _ont/ont-fs-com-gpon-onu-stick-with-mac.md | 2 +- _ont/ont-huawei-ma5671a-root-web.md | 2 +- _ont/ont-huawei-ma5671a-ymodem.md | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/_includes/ymodem_lantiq.html b/_includes/ymodem_lantiq.html index 2dc5c84..dffbc32 100644 --- a/_includes/ymodem_lantiq.html +++ b/_includes/ymodem_lantiq.html @@ -96,10 +96,10 @@ flashForm.addEventListener('submit', async function(event) { if (!flashForm.checkValidity()) { event.preventDefault(); - [...flashForm.elements].map(function(e){return e.parentNode}).forEach(function(e){e.classList.toogle('was-validated', true)}); + [...flashForm.elements].map(function(e){return e.parentNode}).forEach(function(e){e.classList.toggle('was-validated', true)}); } else { event.preventDefault(); - [...flashForm.elements].map(function(e){return e.parentNode}).forEach(function(e){e.classList.toogle('was-validated', false)}); + [...flashForm.elements].map(function(e){return e.parentNode}).forEach(function(e){e.classList.toggle('was-validated', false)}); var fomrdata = new FormData(flashForm); var file = fomrdata.get('flash-mtd'); var image = fomrdata.get('image'); diff --git a/_layouts/default.html b/_layouts/default.html index 43d58d6..2242e57 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -154,7 +154,7 @@ layout: table_wrappers {% if site.last_edit_timestamp_script == true %}