-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
Updates JavaScript for linting
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
js/i18n | ||
js/datepicker.js | ||
js/scrollTo.js | ||
tests |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,14 @@ | ||
/* show/hide on checkbox click */ | ||
function showMe (box) { | ||
|
||
var chboxs = document.getElementsByName("mc_nuke_all_styles"); | ||
var vis = "none"; | ||
for(var i=0;i<chboxs.length;i++) { | ||
if(chboxs[i].checked){ | ||
vis = "none"; | ||
} | ||
else{ | ||
var vis = ""; | ||
vis = ""; | ||
} | ||
} | ||
document.getElementById(box).style.display = vis; | ||
|
||
|
||
} | ||
// eslint-disable-next-line no-unused-vars -- used on window on click | ||
function showMe(box) { | ||
const chboxs = document.getElementsByName('mc_nuke_all_styles'); | ||
let vis = 'none'; | ||
for (let i = 0; i < chboxs.length; i++) { | ||
if (chboxs[i].checked) { | ||
vis = 'none'; | ||
} else { | ||
vis = ''; | ||
} | ||
} | ||
document.getElementById(box).style.display = vis; | ||
} |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.