summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--_includes/ymodem_lantiq.html4
-rw-r--r--_layouts/default.html2
-rw-r--r--_ont/ont-fs-com-gpon-onu-stick-with-mac.md2
-rw-r--r--_ont/ont-huawei-ma5671a-root-web.md2
-rw-r--r--_ont/ont-huawei-ma5671a-ymodem.md2
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 %}
<ul class="metadata text-small">
<li id="last-modified">Last Modified</li>
- <li><a id="contributors" data-jtd-toogle="modal" data-jtd-target="#contributors-modal">Contributor</a>
+ <li><a id="contributors" data-jtd-toggle="modal" data-jtd-target="#contributors-modal">Contributor</a>
</li>
</ul>
<div class="modal" data-jtd-modal="contributors-modal" id="contributors-modal">
diff --git a/_ont/ont-fs-com-gpon-onu-stick-with-mac.md b/_ont/ont-fs-com-gpon-onu-stick-with-mac.md
index 7a2a07f..6919264 100644
--- a/_ont/ont-fs-com-gpon-onu-stick-with-mac.md
+++ b/_ont/ont-fs-com-gpon-onu-stick-with-mac.md
@@ -87,7 +87,7 @@ The electrical connections are the same as those of the Huawei MA5671A, see the
When you are ready with everything plugged in you need to press the button below. A window will open that will execute the emergency unlock.
{: .text-center .fs-6 }
-<button id="start-button" class="btn btn-blue" data-jtd-toogle="modal" data-jtd-target="#root-modal" disabled>Start emergency unlock!</button>
+<button id="start-button" class="btn btn-blue" data-jtd-toggle="modal" data-jtd-target="#root-modal" disabled>Start emergency unlock!</button>
{% include root_lantiq.html modelName="FS GPON ONU Stick" unlockHuaweiShell=false %}
<div id="browser-error" style="display:none">{% include alert.html content="This browser is not compatible with the emergency unlock procedure. See the <a href='https://developer.mozilla.org/en-US/docs/Web/API/Web_Serial_API#browser_compatibility'>Browser compatibility</a>" alert="Note" icon="svg-warning" color="red" %}</div>
diff --git a/_ont/ont-huawei-ma5671a-root-web.md b/_ont/ont-huawei-ma5671a-root-web.md
index b0cfc9a..e2feecd 100644
--- a/_ont/ont-huawei-ma5671a-root-web.md
+++ b/_ont/ont-huawei-ma5671a-root-web.md
@@ -27,7 +27,7 @@ Connect the SFP adapter to the TTL adapter according to the following diagram:
Connect the TTL adapter to the computer, once done press the following button. A window will open that will execute the root.
{: .text-center .fs-6 }
-<button id="start-button" class="btn btn-blue" data-jtd-toogle="modal" data-jtd-target="#root-modal" disabled>Start root!</button>
+<button id="start-button" class="btn btn-blue" data-jtd-toggle="modal" data-jtd-target="#root-modal" disabled>Start root!</button>
{% include root_lantiq.html modelName="Huawei MA5671A" unlockHuaweiShell=true %}
<div id="browser-error" style="display:none">{% include alert.html content="This browser is not compatible with the web-root procedure. See the <a href='https://developer.mozilla.org/en-US/docs/Web/API/Web_Serial_API#browser_compatibility'>Browser compatibility</a>" alert="Note" icon="svg-warning" color="red" %}</div>
diff --git a/_ont/ont-huawei-ma5671a-ymodem.md b/_ont/ont-huawei-ma5671a-ymodem.md
index 803aea8..cd1339c 100644
--- a/_ont/ont-huawei-ma5671a-ymodem.md
+++ b/_ont/ont-huawei-ma5671a-ymodem.md
@@ -8,7 +8,7 @@ layout: default
This procedure flashes the firmware in the stick via serial. You have to get firmware to flash, some are listed on the [Huawei MA5671A page](/ont-huawei-ma5671a).
{: .text-center .fs-6 }
-<button id="flash-start-button" class="btn btn-blue" data-jtd-toogle="modal" data-jtd-target="#flash-modal">Start flash!</button>
+<button id="flash-start-button" class="btn btn-blue" data-jtd-toggle="modal" data-jtd-target="#flash-modal">Start flash!</button>
<div id="flash-browser-error" style="display:none">{% include alert.html content="This browser is not compatible with the web-root procedure. See the <a href='https://developer.mozilla.org/en-US/docs/Web/API/Web_Serial_API#browser_compatibility'>Browser compatibility</a>" alert="Note" icon="svg-warning" color="red" %}</div>
<noscript>