Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibility to ignore a certain link? #9

Closed
sstottelaar opened this issue Mar 5, 2020 · 1 comment
Closed

Possibility to ignore a certain link? #9

sstottelaar opened this issue Mar 5, 2020 · 1 comment
Labels
question Further information is requested

Comments

@sstottelaar
Copy link

First of all, great work on Swup.js!

I was wondering if it's possible to ignore a certain link from preloading? Ideally via a data attribute. My website has multiple links to PDF files, these can't be preloaded which throws errors in the console.

Any guidance would be appreciated!

@gmrchk
Copy link
Member

gmrchk commented Jun 7, 2020

Hey, using data-no-swup or changing this option is what you're looking for.

@gmrchk gmrchk closed this as completed Jun 7, 2020
@gmrchk gmrchk added the question Further information is requested label Jun 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants