jQuery 3 compatibility
-
Hi
Is it possible to submit a PR for a small code change? Currently the plugin throws an error when combined with jQuery 3.x. due to this breaking change: https://jquery.com/upgrade-guide/3.0/#breaking-change-load-unload-and-error-removed
It’s a one line fix at the bottom of the aos.js file:
Current (line 4)
jQuery( window ).load(function() {
Fixed (line 4)
jQuery( window ).on('load', function () {
.load()
had been deprecated since 1.8 (https://bugs.jquery.com/ticket/11733).Thanks,
James
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘jQuery 3 compatibility’ is closed to new replies.