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

links don't work #44

Open
jon-moreira opened this issue Jan 24, 2015 · 1 comment
Open

links don't work #44

jon-moreira opened this issue Jan 24, 2015 · 1 comment

Comments

@jon-moreira
Copy link

I'm using the example present on page.

When i click on link "Flip to page two" and after complete animation force browser to reload the page, I see again the first page but the links don't work.

On browser url have #simple2.html

@jon-moreira
Copy link
Author

my quickly solution is...

add this code on first page
[code]

var loc = window.location.href,
index = loc.indexOf('#');
if (index > 0) {
window.location = loc.substring(0, index);
}

[/code]

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

1 participant