Skip to content

Commit a45d40f

Browse files
hotfix toggle (#130)
Co-authored-by: Simone Bortolin <simonebortolin@users.noreply.github.com>
1 parent c5b2786 commit a45d40f

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

_includes/ymodem_lantiq.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,10 @@ <h2>Flash firmware</h2>
9696
flashForm.addEventListener('submit', async function(event) {
9797
if (!flashForm.checkValidity()) {
9898
event.preventDefault();
99-
[...flashForm.elements].map(function(e){return e.parentNode}).forEach(function(e){e.classList.toogle('was-validated', true)});
99+
[...flashForm.elements].map(function(e){return e.parentNode}).forEach(function(e){e.classList.toggle('was-validated', true)});
100100
} else {
101101
event.preventDefault();
102-
[...flashForm.elements].map(function(e){return e.parentNode}).forEach(function(e){e.classList.toogle('was-validated', false)});
102+
[...flashForm.elements].map(function(e){return e.parentNode}).forEach(function(e){e.classList.toggle('was-validated', false)});
103103
var fomrdata = new FormData(flashForm);
104104
var file = fomrdata.get('flash-mtd');
105105
var image = fomrdata.get('image');

_layouts/default.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ <h2 class="fmt-0"><span class="fw-300">Also sold as: </span> {{ page.alias }}</h
154154
{% if site.last_edit_timestamp_script == true %}
155155
<ul class="metadata text-small">
156156
<li id="last-modified">Last Modified</li>
157-
<li><a id="contributors" data-jtd-toogle="modal" data-jtd-target="#contributors-modal">Contributor</a>
157+
<li><a id="contributors" data-jtd-toggle="modal" data-jtd-target="#contributors-modal">Contributor</a>
158158
</li>
159159
</ul>
160160
<div class="modal" data-jtd-modal="contributors-modal" id="contributors-modal">

_ont/ont-fs-com-gpon-onu-stick-with-mac.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ The electrical connections are the same as those of the Huawei MA5671A, see the
8787
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.
8888

8989
{: .text-center .fs-6 }
90-
<button id="start-button" class="btn btn-blue" data-jtd-toogle="modal" data-jtd-target="#root-modal" disabled>Start emergency unlock!</button>
90+
<button id="start-button" class="btn btn-blue" data-jtd-toggle="modal" data-jtd-target="#root-modal" disabled>Start emergency unlock!</button>
9191
{% include root_lantiq.html modelName="FS GPON ONU Stick" unlockHuaweiShell=false %}
9292

9393
<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>

_ont/ont-huawei-ma5671a-root-web.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Connect the SFP adapter to the TTL adapter according to the following diagram:
2727
Connect the TTL adapter to the computer, once done press the following button. A window will open that will execute the root.
2828

2929
{: .text-center .fs-6 }
30-
<button id="start-button" class="btn btn-blue" data-jtd-toogle="modal" data-jtd-target="#root-modal" disabled>Start root!</button>
30+
<button id="start-button" class="btn btn-blue" data-jtd-toggle="modal" data-jtd-target="#root-modal" disabled>Start root!</button>
3131
{% include root_lantiq.html modelName="Huawei MA5671A" unlockHuaweiShell=true %}
3232

3333
<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>

_ont/ont-huawei-ma5671a-ymodem.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ layout: default
88
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).
99

1010
{: .text-center .fs-6 }
11-
<button id="flash-start-button" class="btn btn-blue" data-jtd-toogle="modal" data-jtd-target="#flash-modal">Start flash!</button>
11+
<button id="flash-start-button" class="btn btn-blue" data-jtd-toggle="modal" data-jtd-target="#flash-modal">Start flash!</button>
1212

1313
<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>
1414
<noscript>

0 commit comments

Comments
 (0)