mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-12-29 11:01:34 +08:00
Bugfix: checkbox component cleanup error
This commit is contained in:
parent
631b487163
commit
37d29174f3
1 changed files with 1 additions and 3 deletions
|
@ -21,9 +21,7 @@ class AbstractCheckbox extends AbstractComponent {
|
|||
}
|
||||
|
||||
click() {
|
||||
if (this.enable() && !this.disable()) {
|
||||
this.value(!this.value());
|
||||
}
|
||||
this.enable() && this.value(!this.value());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue