Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Gregory Mitt
512 PointsJquery Error on Treebook
I am Getting this error in the Rails app Treebook with the newer versions of chrome and IE
event.returnValue is deprecated. Please use the standard event.preventDefault() instead
2 Answers
Tom Bedford
15,645 PointsThere's some discussion on this on stackoverflow.
Consensus seems to be:
This is only a warning: your code still works, but probably won't work in the future as the method is deprecated. See the relevant source of Chromium and corresponding patch.
This has already been recognised and fixed in jQuery 1.11 (see here and here).
Gregory Mitt
512 PointsThe problem that this is causing a strange behavior in the Treebook app.
When I click in All Statuses or I edit a Status and I click in Back the hover effect doesnΒ΄t work. But If I use IE in compatibility mode all works fine.