diff options
| author | Brian Cully <bjc@spork.org> | 2025-05-12 23:06:19 -0400 |
|---|---|---|
| committer | Brian Cully <bjc@spork.org> | 2025-05-12 23:24:55 -0400 |
| commit | 18b63657328a619a638688e5a85c9c1da2b196c1 (patch) | |
| tree | df592f175e7c6dc81776c69ddcc996a42485e05b /fretboard.mjs | |
| parent | 314a84382ecb31a2f1faa879855ce20b9f442036 (diff) | |
| download | chords-18b63657328a619a638688e5a85c9c1da2b196c1.tar.gz chords-18b63657328a619a638688e5a85c9c1da2b196c1.zip | |
radio radio!
Diffstat (limited to 'fretboard.mjs')
| -rw-r--r-- | fretboard.mjs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fretboard.mjs b/fretboard.mjs index 7ba0dab..7eba9f5 100644 --- a/fretboard.mjs +++ b/fretboard.mjs @@ -120,7 +120,7 @@ export default class extends HTMLElement { item.querySelectorAll('[slot="string"]').forEach(s => { console.debug(' -- setting tonic', tonic, 'on', s); s.setAttribute('tonic', tonic); - s.setAttribute('selected', tonic); + s.setAttribute('value', tonic); s.setAttribute('frets', frets.toString()); }) tmpl.parentNode.insertBefore(item, tmpl); |
