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

browser doesn't recognize jQuery if click pjax-ified links too rapidly? #66

Closed
tim-peterson opened this issue Nov 4, 2011 · 1 comment

Comments

@tim-peterson
Copy link

Has anyone noticed this? I've got pjax() working fine but sometimes it just fails. It seems like failure correlates with size of loaded content or frequency of clicking links or back button. By fails, i mean it does a full page load on the selected href rather than ajax loading. The console error says can't recognize jQuery object and it can happen in chrome or firefox.

thanks,
tim

@tim-peterson
Copy link
Author

Problem solved, i had not realized there was a 'timeout' option whose default is set to less than 1 second, i bumped that up to a couple of seconds and then pjax() doesn't fail anymore,

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