updated ACP checkbox module so that it hides the checkbox via js instead of blanket CSS hiding

v1.18.x
Julian Lam 10 years ago
parent a4ace48469
commit 140b8be161

@ -1,7 +1,3 @@
[type=checkbox] {
display: none;
}
label {
cursor: pointer;
}

@ -179,6 +179,7 @@
var checkbox = $(this),
checked = checkbox.is(':checked');
checkbox.hide();
if (checked) {
checkbox.after('<i class="fa fa-toggle-on"></i>');
}

Loading…
Cancel
Save