From 2a9b6ef0be04b5b5cacc47922e19c05d190d6ade Mon Sep 17 00:00:00 2001 From: Brian Cully Date: Sat, 26 Jul 2025 14:55:53 -0400 Subject: first stab at fretboard player. need to handle actual chord positions so everything isn't in 4, but otherwise works? --- history.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'history.mjs') diff --git a/history.mjs b/history.mjs index f056ac7..b7d49ed 100644 --- a/history.mjs +++ b/history.mjs @@ -40,7 +40,7 @@ export default class extends HTMLElement { // TODO: i don't think this is how slots are supposed to work, // but maybe they're not really for this at all? item.querySelectorAll('[name="fretboard"]') - .forEach(s => s.innerText = fretboard.notes.join(' ')); + .forEach(s => s.textContent = fretboard.notes.join(' ')); this.list.appendChild(item); } } -- cgit v1.3