Removed unnecessary js
This commit is contained in:
parent
1711bae489
commit
f24bc446e2
BIN
img/.DS_Store
vendored
BIN
img/.DS_Store
vendored
Binary file not shown.
@ -35,18 +35,18 @@ function notification(id) {
|
|||||||
// document.getElementById('#check').checked = true;
|
// document.getElementById('#check').checked = true;
|
||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
document.getElementById('#check').addEventListener('click', function (event) {
|
// document.getElementById('#check').addEventListener('click', function (event) {
|
||||||
if (!document.getElementById('check').checked) {
|
// if (!document.getElementById('check').checked) {
|
||||||
event.stopPropagation();
|
// event.stopPropagation();
|
||||||
}
|
// }
|
||||||
});
|
// });
|
||||||
window.onclick = function(event) {
|
// window.onclick = function(event) {
|
||||||
if (!event.target.matches('check')) {
|
// if (!event.target.matches('check')) {
|
||||||
if (document.getElementById('check').checked) {
|
// if (document.getElementById('check').checked) {
|
||||||
document.getElementById('check').checked = false;
|
// document.getElementById('check').checked = false;
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
|
||||||
// document.getElementById("navList").addEventListener('click', function (event) {
|
// document.getElementById("navList").addEventListener('click', function (event) {
|
||||||
// if (document.getElementById('check').checked) {
|
// if (document.getElementById('check').checked) {
|
||||||
|
Loading…
Reference in New Issue
Block a user