fix non-active itens after reloadListin()

pull/144/head
Henrique Dias 2016-07-05 21:07:04 +01:00
parent 7743b56f05
commit c4be1f8b54
2 changed files with 8 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -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);
});
} }
} }
} }