Skip to content

Commit d685688

Browse files
Merge pull request #7 from cole007/patch-1
Typo (downlaod > download)
2 parents 05f618d + 1afb80d commit d685688

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

utils/reportContent.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -225,15 +225,15 @@ function reportContent(baseUrl, pages) {
225225
}
226226
227227
/* Modal Content */
228-
.downlaod-modal-content {
228+
.download-modal-content {
229229
background-color: #fefefe;
230230
margin: auto;
231231
padding: 20px;
232232
border: 1px solid #888;
233233
width: 80%;
234234
}
235235
236-
.downlaod-modal-content a {
236+
.download-modal-content a {
237237
display: block;
238238
color: black;
239239
padding: 16px;
@@ -270,7 +270,7 @@ function reportContent(baseUrl, pages) {
270270
<a href="javascript:void(0)" download="crawlyx-report.html"
271271
onclick="this.href='data:text/html;charset=UTF-8,'+encodeURIComponent(document.documentElement.outerHTML)">-
272272
Download html</a>
273-
<a href="./report.json" download>- Downlaod json</a>
273+
<a href="./report.json" download>- Download json</a>
274274
</div>
275275
<a href="https://theritikchoure.github.io/crawlyx/docs/documentation.html" target="_blank" onclick="changeMenu(event)"><i class="fa fa-fw fa-question"></i>Help</a>
276276
</div>
@@ -435,10 +435,10 @@ function reportContent(baseUrl, pages) {
435435
</script>
436436
437437
<!-- The Modal -->
438-
<div id="downlaod-modal" class="modal">
438+
<div id="download-modal" class="modal">
439439
440440
<!-- Modal content -->
441-
<div class="downlaod-modal-content">
441+
<div class="download-modal-content">
442442
<span id="download-modal-close">&times;</span>
443443
<a href="javascript:void(0)" onclick="printDiv('home')">- Download pdf</a>
444444
<a href="javascript:void(0)" download="crawlyx-report.html"
@@ -451,7 +451,7 @@ function reportContent(baseUrl, pages) {
451451
452452
<script>
453453
// handle download sidebar drop down
454-
let downloadModal = document.getElementById("downlaod-modal");
454+
let downloadModal = document.getElementById("download-modal");
455455
456456
function handleSidebarDropdown(event) {
457457
if (window.screen.width < 700) {

0 commit comments

Comments
 (0)