Skip to content

Commit

Permalink
Bugfix. Fix lit error complaining about invalid @load value
Browse files Browse the repository at this point in the history
  • Loading branch information
jcbrand committed Apr 2, 2024
1 parent 7790830 commit 7c75eb3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/shared/directives/image.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class ImageDirective extends AsyncDirective {
src="${src}"
@click=${onClick}
@error=${() => this.onError(src, href, onLoad, onClick)}
@load=${onLoad}/></a>`;
@load="${onLoad}"/></a>`;
}

onError (src, href, onLoad, onClick) {
Expand Down

0 comments on commit 7c75eb3

Please sign in to comment.