mirror of
https://github.com/withastro/astro.git
synced 2025-01-06 22:10:10 -05:00
[ci] format
This commit is contained in:
parent
35d54b3ddb
commit
c7dbb9d5c0
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ const { fallback = 'animate' } = Astro.props;
|
|||
document.addEventListener('click', (ev) => {
|
||||
let link = ev.target;
|
||||
if (ev.composed) {
|
||||
link = ev.composedPath()[0];
|
||||
link = ev.composedPath()[0];
|
||||
}
|
||||
if (link instanceof Element) {
|
||||
link = link.closest('a, area');
|
||||
|
|
Loading…
Reference in a new issue