diff --git a/wled00/data/pixart/pixart.js b/wled00/data/pixart/pixart.js
index 7c347f19..08589666 100644
--- a/wled00/data/pixart/pixart.js
+++ b/wled00/data/pixart/pixart.js
@@ -288,7 +288,7 @@ function generateSegmentOptions(array) {
// Get segments from device
async function getSegments() {
- cv = gurl.value;
+ const cv = gurl.value;
if (cv.length > 0 ){
try {
var arr = [];
diff --git a/wled00/data/pixelforge/pixelforge.htm b/wled00/data/pixelforge/pixelforge.htm
index a6c130ed..b55a956d 100644
--- a/wled00/data/pixelforge/pixelforge.htm
+++ b/wled00/data/pixelforge/pixelforge.htm
@@ -381,8 +381,8 @@ button, .btn {
- Tips:
- • Mix text and tokens: "It's #HHMM O'Clock" or "#HH:#MM:#SS"
+ Tips:
+ • Mix text and tokens: "It's #HHMM O'clock" or "#HH:#MM:#SS"
• Add '0' suffix for leading zeros: #TIME0, #HH0, etc.
diff --git a/wled00/data/pxmagic/pxmagic.htm b/wled00/data/pxmagic/pxmagic.htm
index f8de5119..77e7963c 100644
--- a/wled00/data/pxmagic/pxmagic.htm
+++ b/wled00/data/pxmagic/pxmagic.htm
@@ -1226,8 +1226,8 @@
gId("segments").addEventListener("change", (e) => {
const { width, height } = e.target.selectedOptions[0].dataset;
- gId("width").value = w;
- gId("height").value = h;
+ gId("width").value = width;
+ gId("height").value = height;
});
gId("output").addEventListener("change", (e) => {
@@ -1576,7 +1576,7 @@
ctx.fillText(pixelId, offsetX, offsetY);
}
}
-
+ let i; // avoid inplicitly creating a global variable
switch (pattern) {
case "1":
i = colors;