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

Doesn't work with newest jQuery version #66

Closed
energyuser opened this issue Jul 8, 2015 · 9 comments
Closed

Doesn't work with newest jQuery version #66

energyuser opened this issue Jul 8, 2015 · 9 comments

Comments

@energyuser
Copy link

I've asked the same question on jQuery's repo:
jquery/jquery#2460

@cameronmcefee
Copy link
Owner

Hi @energyuser,

Plax has been on the backburner for the last few years, so I won't likely be able to make updates any time soon. If you'd like to submit a pull request fixing the issue, I'm happy to review it.

@energyuser
Copy link
Author

Sorry, I'm not that good in javascript. I hoped that you could update it but oh well...

@cameronmcefee
Copy link
Owner

Sorry, I can't be of more help at the moment :(. To be honest, Plax is pretty old. I'm willing to bet there are better plugins out there. http://markdalgleish.com/projects/stellar.js/ looks interesting.

@dmethvin
Copy link

dmethvin commented Jul 8, 2015

It's possible this can be fixed by changing plaxActivityTarget = $(window) to plaxActivityTarget = $(document.body) but I'm not familiar enough with the code to test that hypothesis.

Is this code still being used at GitHub? If so we'd want to be sure we didn't break it with a jQuery update. 😈

@cameronmcefee
Copy link
Owner

Ha, looks as though it is. Guess I should prioritize this after all. Thanks @dmethvin I'll have a look at your suggestion.

@energyuser
Copy link
Author

Thanks guys! I hope you come up with something and @dmethvin yes: https://github.com/404 Also, when I replaced that code it worked! @cameronmcefee but to make it work I had to defer="defer" my script and the other one that activates plax.

@cameronmcefee
Copy link
Owner

@energyuser for your info, I may not be able to get to this for a few days (things are pretty busy on my end). If you're in a time crunch, I'd suggest looking at alternative plugins or trying to fix it yourself based on @dmethvin's suggestion.

@energyuser
Copy link
Author

Yes, that worked as I commented above, perhaps you can change that in the code of the official plugin?

@cameronmcefee
Copy link
Owner

Should be fixed as of 624c5ef

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

3 participants