summaryrefslogtreecommitdiffstats
path: root/_includes
diff options
context:
space:
mode:
authorSimone <26844016+simonebortolin@users.noreply.github.com>2023-01-18 19:45:23 +0100
committerGitHub <noreply@github.com>2023-01-18 19:45:23 +0100
commita45d40f158157cc0eb431812eec7d954574d36aa (patch)
tree27c091e331124720a11b10a606e030baeac1a451 /_includes
parentMinor fix on alternative root V3 procedure (flash) (#118) (diff)
downloadhack-gpon.github.io-a45d40f158157cc0eb431812eec7d954574d36aa.tar
hack-gpon.github.io-a45d40f158157cc0eb431812eec7d954574d36aa.tar.gz
hack-gpon.github.io-a45d40f158157cc0eb431812eec7d954574d36aa.tar.bz2
hack-gpon.github.io-a45d40f158157cc0eb431812eec7d954574d36aa.tar.lz
hack-gpon.github.io-a45d40f158157cc0eb431812eec7d954574d36aa.tar.xz
hack-gpon.github.io-a45d40f158157cc0eb431812eec7d954574d36aa.tar.zst
hack-gpon.github.io-a45d40f158157cc0eb431812eec7d954574d36aa.zip
Diffstat (limited to '_includes')
-rw-r--r--_includes/ymodem_lantiq.html4
1 files changed, 2 insertions, 2 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');