summaryrefslogtreecommitdiffstats
path: root/_includes
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--_includes/root_lantiq.html2
-rw-r--r--_includes/ymodem_lantiq.html4
2 files changed, 5 insertions, 1 deletions
diff --git a/_includes/root_lantiq.html b/_includes/root_lantiq.html
index fd8912c..4a0bd13 100644
--- a/_includes/root_lantiq.html
+++ b/_includes/root_lantiq.html
@@ -46,6 +46,8 @@
document.getElementById('start-button').disabled = false;
} else {
document.getElementById('browser-error').style.display = 'block';
+ document.getElementById('start-button').disabled = true;
+ document.getElementById('start-button').innerHTML=document.getElementById('start-button').innerText.strike();
}
const acontroller = new AbortController();
const cs = acontroller.signal;
diff --git a/_includes/ymodem_lantiq.html b/_includes/ymodem_lantiq.html
index dffbc32..d8ee215 100644
--- a/_includes/ymodem_lantiq.html
+++ b/_includes/ymodem_lantiq.html
@@ -44,6 +44,8 @@
document.getElementById('flash-start-button').disabled = false;
} else {
document.getElementById('flash-browser-error').style.display = 'block';
+ document.getElementById('flash-start-button').disabled = true;
+ document.getElementById('flash-start-button').innerHTML=document.getElementById('flash-start-button').innerText.strike()
}
const acontroller = new AbortController();
const cs = acontroller.signal;
@@ -202,4 +204,4 @@
}
});
};
-</script> \ No newline at end of file
+</script>