fix non-active itens after reloadListin()
parent
7743b56f05
commit
c4be1f8b54
File diff suppressed because one or more lines are too long
|
@ -191,6 +191,12 @@ var reloadListing = function() {
|
||||||
// Handle date times
|
// Handle date times
|
||||||
let timeList = document.getElementsByTagName("time");
|
let timeList = document.getElementsByTagName("time");
|
||||||
Array.from(timeList).forEach(localizeDatetime);
|
Array.from(timeList).forEach(localizeDatetime);
|
||||||
|
|
||||||
|
// Add action to checkboxes
|
||||||
|
let checkboxes = document.getElementsByClassName('checkbox');
|
||||||
|
Array.from(checkboxes).forEach(link => {
|
||||||
|
link.addEventListener('click', itemClickEvent);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue