diff options
| author | Brian Cully <bjc@spork.org> | 2025-07-26 14:55:53 -0400 |
|---|---|---|
| committer | Brian Cully <bjc@spork.org> | 2025-07-26 14:55:53 -0400 |
| commit | 2a9b6ef0be04b5b5cacc47922e19c05d190d6ade (patch) | |
| tree | e07e9648891b065cb8c12cea563386a9b92264c7 /history.mjs | |
| parent | 18b63657328a619a638688e5a85c9c1da2b196c1 (diff) | |
| download | chords-2a9b6ef0be04b5b5cacc47922e19c05d190d6ade.tar.gz chords-2a9b6ef0be04b5b5cacc47922e19c05d190d6ade.zip | |
first stab at fretboard player.
need to handle actual chord positions so everything isn't in 4, but
otherwise works?
Diffstat (limited to 'history.mjs')
| -rw-r--r-- | history.mjs | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } |
