From 9f823737542796038c1d9f2fd8c9f23116fd9b0d Mon Sep 17 00:00:00 2001 From: Felix Hamann Date: Sat, 31 Mar 2018 01:59:59 +0200 Subject: [PATCH] fix for custom checkboxes... no idea why broken --- templates/standalone/inputs.julius | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/standalone/inputs.julius b/templates/standalone/inputs.julius index 024d9fc18..bced64e6e 100644 --- a/templates/standalone/inputs.julius +++ b/templates/standalone/inputs.julius @@ -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); });