mirror of https://github.com/espruino/BangleApps
Slider: remove unnecessary var initialization
Co-authored-by: Rob Pilling <robpilling@gmail.com>pull/2953/head
parent
3adb21d035
commit
3afd9ac126
|
@ -101,7 +101,6 @@ try { // For making it possiblie to run the test app in the following catch stat
|
|||
if (o.v.timeoutID) {clearTimeout(o.v.timeoutID); o.v.timeoutID = undefined;}
|
||||
if (e.b==0 && !o.v.timeoutID && (o.c.timeout || o.c.timeout===0)) o.v.timeoutID = setTimeout(o.f.remove, 1000*o.c.timeout);
|
||||
|
||||
o.v.cbObj;
|
||||
if (o.c.useMap && o.f.wasOnIndicator(exFirst)) { // If draging starts on the indicator, adjust one-to-one.
|
||||
|
||||
let input = !o.c.horizontal?
|
||||
|
|
Loading…
Reference in New Issue