[ci] format
This commit is contained in:
parent
ceb0eef944
commit
9f6d8eb625
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ let observer: IntersectionObserver;
|
|||
function observe(link: HTMLAnchorElement) {
|
||||
preloaded.add(link.href);
|
||||
observer.observe(link);
|
||||
events.map((event) => link.addEventListener(event, onLinkEvent, { passive:true, once: true }));
|
||||
events.map((event) => link.addEventListener(event, onLinkEvent, { passive: true, once: true }));
|
||||
}
|
||||
|
||||
function unobserve(link: HTMLAnchorElement) {
|
||||
|
|
Loading…
Reference in a new issue