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

/undefined at end of URL #142

Open
hu1asn0 opened this issue Jan 22, 2018 · 3 comments
Open

/undefined at end of URL #142

hu1asn0 opened this issue Jan 22, 2018 · 3 comments

Comments

@hu1asn0
Copy link

hu1asn0 commented Jan 22, 2018

Guys, I tried to finda fix, but even the latest animsition seems to have the same bug.
I'm on Shopify, I use the standard cookie banner, but wherever I click any of the links/buttons, it redirects me to any URL/undefined.

Went through the js base, updated to animsition, jquery 2.X, etc. so solution.
I need your help!
Thanks!

@Kpk1l
Copy link

Kpk1l commented May 8, 2018

#129

@tieuhung
Copy link

tieuhung commented Apr 4, 2020

can anyone fix this issue? i can not find any solutions

@caseyjhol
Copy link

Just be sure your linkElement has the href property:

$(".animsition").animsition({
    ...
    linkElement: 'a[href]:not([target="_blank"]):not([href^="#"])'
    ...
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants