summaryrefslogtreecommitdiffstats
path: root/_includes/ymodem_lantiq.html
diff options
context:
space:
mode:
Diffstat (limited to '_includes/ymodem_lantiq.html')
-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');