summaryrefslogtreecommitdiffstats
path: root/history.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'history.mjs')
-rw-r--r--history.mjs7
1 files changed, 3 insertions, 4 deletions
diff --git a/history.mjs b/history.mjs
index b7d49ed..e09073a 100644
--- a/history.mjs
+++ b/history.mjs
@@ -18,7 +18,10 @@ export default class extends HTMLElement {
console.debug('History#constructor', this);
this.onClick = e => console.debug('history click', e);
+ }
+ connectedCallback() {
+ console.debug('History#connectedCallback', this);
this.template = this.querySelector('template');
this.list = this.querySelector('ol');
@@ -26,10 +29,6 @@ export default class extends HTMLElement {
this._internals = this.attachInternals();
}
- connectedCallback() {
- console.debug('History#connectedCallback', this);
- }
-
add(fretboard) {
console.debug('History#add', this, fretboard);
this._internals.states.add('fresh');