summaryrefslogtreecommitdiffstats
path: root/history.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'history.mjs')
-rw-r--r--history.mjs2
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);
}
}