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); }