From 199c00c59b24d722048af6040978471f28ddb62b Mon Sep 17 00:00:00 2001 From: "Mountain/\\Ash" Date: Thu, 19 Oct 2023 10:41:49 +0200 Subject: [PATCH 1/3] fix: image URLs moved on alphacoders --- wled00/data/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wled00/data/index.js b/wled00/data/index.js index c356efa8d..0315f6bd9 100644 --- a/wled00/data/index.js +++ b/wled00/data/index.js @@ -35,8 +35,8 @@ var hol = [ [2025,3,20,2,"https://aircoookie.github.io/easter.png"], [2023,3,9,2,"https://aircoookie.github.io/easter.png"], [2024,2,31,2,"https://aircoookie.github.io/easter.png"], - [0,6,4,1,"https://initiate.alphacoders.com/download/wallpaper/516792/images/jpg/510921363292536"], // 4th of July - [0,0,1,1,"https://initiate.alphacoders.com/download/wallpaper/1198800/images/jpg/2522807481585600"] // new year + [0,6,4,1,"https://images.alphacoders.com/516/516792.jpg"], // 4th of July + [0,0,1,1,"https://images.alphacoders.com/119/1198800.jpg"] // new year ]; function handleVisibilityChange() {if (!d.hidden && new Date () - lastUpdate > 3000) requestJson();} From 42aec56b8e62420d9a5a3d6f36c22e483377b953 Mon Sep 17 00:00:00 2001 From: "Mountain/\\Ash" Date: Thu, 19 Oct 2023 10:42:10 +0200 Subject: [PATCH 2/3] refactor: removed trailing whitespace --- wled00/data/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wled00/data/index.js b/wled00/data/index.js index 0315f6bd9..e5deec3d0 100644 --- a/wled00/data/index.js +++ b/wled00/data/index.js @@ -1209,7 +1209,7 @@ function updateUI() if (hasRGB) { updateTrail(gId('sliderR')); updateTrail(gId('sliderG')); - updateTrail(gId('sliderB')); + updateTrail(gId('sliderB')); } if (hasWhite) updateTrail(gId('sliderW')); @@ -1700,7 +1700,7 @@ function toggleLiveview() let wsOn = ws && ws.readyState === WebSocket.OPEN; var lvID = "liveview"; - if (isM && wsOn) { + if (isM && wsOn) { lvID += "2D"; if (isLv) gId('klv2D').innerHTML = ``; gId('mlv2D').style.transform = (isLv) ? "translateY(0px)":"translateY(100%)"; @@ -1887,7 +1887,7 @@ function makeP(i,pl) end: 0 }; var rep = plJson[i].repeat ? plJson[i].repeat : 0; - content = + content = `