Bugfix: checkbox component cleanup error

This commit is contained in:
djmaze 2021-09-10 15:19:37 +02:00
parent 631b487163
commit 37d29174f3

View file

@ -21,9 +21,7 @@ class AbstractCheckbox extends AbstractComponent {
} }
click() { click() {
if (this.enable() && !this.disable()) { this.enable() && this.value(!this.value());
this.value(!this.value());
}
} }
} }