Skip to content

Commit

Permalink
Shorten code
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy committed Sep 29, 2023
1 parent 4366d84 commit 33a019c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/astro/src/runtime/server/astro-island.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ declare const Astro: {
mo.observe(this, { childList: true });
// in case the marker comment got stripped and the mutation observer waited indefinitely,
// also wait for DOMContentLoaded as a last resort
document.addEventListener('DOMContentLoaded', onConnected, { once: true });
document.addEventListener('DOMContentLoaded', onConnected);
}
}
async childrenConnectedCallback() {
Expand Down

0 comments on commit 33a019c

Please sign in to comment.