From f9494b592f782b3914709c2c93a48eeed06cd476 Mon Sep 17 00:00:00 2001 From: Martin Boonk Date: Sun, 13 Mar 2022 11:30:21 +0100 Subject: [PATCH] Fix double variable definition when wrapping in timeouts --- apps/imageclock/custom.html | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/imageclock/custom.html b/apps/imageclock/custom.html index 2343c7c77..b0a9cb375 100644 --- a/apps/imageclock/custom.html +++ b/apps/imageclock/custom.html @@ -618,7 +618,6 @@ if (properties.Redraw && properties.Redraw.Clear){ if (wrapInTimeouts && plane != 0){ code += "promise = promise.then(()=>delay(0)).then(()=>{\n"; - code += "var currentDrawTime=Date.now();\n"; } else { code += "promise = promise.then(()=>{\n"; }