Update packages/labs/prefetch/src/client.ts
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
This commit is contained in:
parent
b8210c87ec
commit
ed0bbd22cd
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ export interface PrefetchOptions {
|
|||
throttle?: number;
|
||||
}
|
||||
|
||||
export default function prefetch({ selector = 'a[href][rel="prefetch"]', throttle = 1 }: PrefetchOptions) {
|
||||
export default function prefetch({ selector = 'a[href][rel~="prefetch"]', throttle = 1 }: PrefetchOptions) {
|
||||
const [toAdd, isDone] = throttles(throttle);
|
||||
|
||||
observer =
|
||||
|
|
Loading…
Add table
Reference in a new issue