chore: fix h-output helper for demos
This commit is contained in:
parent
5ab5e8e68c
commit
034e4bb88a
1 changed files with 1 additions and 1 deletions
|
|
@ -76,7 +76,7 @@ export class HelperOutput extends LitElement {
|
|||
}
|
||||
this.__rerender = this.__rerender.bind(this);
|
||||
|
||||
const storyRoot = this.field.closest('[mdjs-story-name]') || this.parentElement;
|
||||
const storyRoot = this.closest('[mdjs-story-name]') || this.parentElement;
|
||||
|
||||
storyRoot.addEventListener('model-value-changed', this.__rerender);
|
||||
storyRoot.addEventListener('mousemove', this.__rerender);
|
||||
|
|
|
|||
Loading…
Reference in a new issue