From 28236ca1c0373b2270411bc4ffa6bff3c18d9c98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Tue, 27 Oct 2026 16:48:03 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20links=20and=20buttons=20w?= =?UTF-8?q?ork=20again;=20the=20colour=20row's=20clearNote=20no=20longer?= =?UTF-8?q?=20replaces=20the=20restart=20bar's?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crates/forge-web/assets/nav.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/forge-web/assets/nav.js b/crates/forge-web/assets/nav.js index 97ac615..760d284 100644 --- a/crates/forge-web/assets/nav.js +++ b/crates/forge-web/assets/nav.js @@ -974,7 +974,7 @@ } } - function clearNote(row) { + function clearHexNote(row) { var note = row.querySelector('[data-hex-note]'); if (note) { note.textContent = ''; } } @@ -982,7 +982,7 @@ // A preset pick moves its row's knob to the preset's hue, without choosing Custom. function setKnob(row, hue) { setRow(row, hue, rowVivid(row), true); - clearNote(row); + clearHexNote(row); } // A hue or vividness slider: the row's Custom choice takes the new colour, and the colour shows on @@ -992,7 +992,7 @@ var custom = row ? row.querySelector('input[data-hue-custom]') : null; if (!row || !custom) { return; } setRow(row, rowHue(row), rowVivid(row), true); - clearNote(row); + clearHexNote(row); custom.checked = true; wantColour(PREVIEW_ATTR[custom.name], custom.value); }