fix for custom checkboxes... no idea why broken
This commit is contained in:
parent
62296e9a5f
commit
9f82373754
@ -152,6 +152,9 @@
|
||||
window.utils.reactiveFileCheckbox = function(input, label, parent) {
|
||||
// adds eventlistener(s)
|
||||
function addListener(container) {
|
||||
container.addEventListener('click', function() {
|
||||
input.click();
|
||||
});
|
||||
input.addEventListener('change', function(event) {
|
||||
container.classList.toggle('file-checkbox__container--valid', this.checked);
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user