|
|
|
@ -75,6 +75,22 @@
|
|
|
|
|
lastScrollY = window.scrollY;
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
<script>
|
|
|
|
|
document.addEventListener('DOMContentLoaded', (event) => {
|
|
|
|
|
let checkboxes = document.querySelectorAll('input[type="checkbox"]');
|
|
|
|
|
checkboxes.forEach((checkbox) => {
|
|
|
|
|
let label = document.createElement('label');
|
|
|
|
|
label.setAttribute('class', 'switch');
|
|
|
|
|
|
|
|
|
|
let span = document.createElement('span');
|
|
|
|
|
span.setAttribute('class', 'slider round');
|
|
|
|
|
|
|
|
|
|
checkbox.parentNode.insertBefore(label, checkbox);
|
|
|
|
|
label.appendChild(checkbox);
|
|
|
|
|
label.appendChild(span);
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
<div class="fill">
|
|
|
|
|
<div class="container">
|
|
|
|
|