From 4d6edb129278ac18a10b8e2a6d149e02a1af01ec Mon Sep 17 00:00:00 2001 From: thyttan <6uuxstm66@mozmail.com⁩> Date: Tue, 17 Oct 2023 23:21:04 +0200 Subject: [PATCH] Slider: add missing semicolons --- modules/Slider.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/Slider.js b/modules/Slider.js index 8e563d3e0..ef1527f5d 100644 --- a/modules/Slider.js +++ b/modules/Slider.js @@ -55,8 +55,8 @@ try { // For making it possiblie to run the test app in the following catch stat o.c.outerBorderSize--; o.c.innerBorderSize--; } - o.c.outerBorderSize = Math.max(0,o.c.outerBorderSize) - o.c.innerBorderSize = Math.max(0,o.c.innerBorderSize) + o.c.outerBorderSize = Math.max(0,o.c.outerBorderSize); + o.c.innerBorderSize = Math.max(0,o.c.innerBorderSize); let totalBorderSize = o.c.outerBorderSize + o.c.innerBorderSize; o.c.rounded = o.c.rounded?o.c.width/2:0; @@ -202,7 +202,7 @@ try { // For making it possiblie to run the test app in the following catch stat // Add logic for auto progressing the slider only if wanted. if (o.c.autoProgress) { o.f.autoUpdate = ()=>{ - o.v.level = o.v.autoInitLevel + Math.round((Date.now()-o.v.autoInitTime)/1000) + o.v.level = o.v.autoInitLevel + Math.round((Date.now()-o.v.autoInitTime)/1000); if (o.v.level>o.c.steps) o.v.level=o.c.steps; cb("auto", o.v.level); o.f.draw&&o.f.draw(o.v.level);