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

Handle difference for "popstate on page load" for chrome vs. firefox #236

Open
karussell opened this issue Oct 22, 2014 · 1 comment
Open

Comments

@karussell
Copy link

I discribed the current problem I have with Firefox here

The reason for that behaviour is that firefox does NOT create a popstate on page load! And chrome does ... one can workaround this via this code

@karussell
Copy link
Author

For me the simple workaround of disabling html5 popstate stuff worked:

var app = $.sammy('#all', function () {
   this.disable_push_state = true;
   ...
}

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