bugfixing
This commit is contained in:
parent
007ed34ed7
commit
eccaa98d9a
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ class SwitchBox extends UI {
|
||||||
}
|
}
|
||||||
setValue(val) {
|
setValue(val) {
|
||||||
if (this._value !== val) {
|
if (this._value !== val) {
|
||||||
this._value = value;
|
this._value = val;
|
||||||
if (this._value) {
|
if (this._value) {
|
||||||
this._input.style.backgroundColor = "#00b6ff";
|
this._input.style.backgroundColor = "#00b6ff";
|
||||||
this._movable.style.right = 0 + "px";
|
this._movable.style.right = 0 + "px";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue