bugfixing

This commit is contained in:
Blue 2018-11-20 14:43:12 +03:00
parent 007ed34ed7
commit eccaa98d9a
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ class SwitchBox extends UI {
}
setValue(val) {
if (this._value !== val) {
this._value = value;
this._value = val;
if (this._value) {
this._input.style.backgroundColor = "#00b6ff";
this._movable.style.right = 0 + "px";