Skip to content

Commit

Permalink
golf: remove return within observer;
Browse files Browse the repository at this point in the history
- 868 gz / 711 br
  • Loading branch information
lukeed committed Dec 11, 2018
1 parent 2a5f63b commit 0e569a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const observer = new IntersectionObserver(entries => {

function prefetcher(url) {
toPrefetch.delete(url);
return prefetch(url, observer.priority);
prefetch(url, observer.priority);
}

/**
Expand Down

0 comments on commit 0e569a3

Please sign in to comment.