diff --git a/dev/Component/AbstractCheckbox.js b/dev/Component/AbstractCheckbox.js index 67e13b692..0bf84f65d 100644 --- a/dev/Component/AbstractCheckbox.js +++ b/dev/Component/AbstractCheckbox.js @@ -21,9 +21,7 @@ class AbstractCheckbox extends AbstractComponent { } click() { - if (this.enable() && !this.disable()) { - this.value(!this.value()); - } + this.enable() && this.value(!this.value()); } }