I recently had to upgrade my JQuery version, one of my plugins stopped working as a result. I used the migrate plugin, I changed all the bind()
to on()
, but to no avail.
I use jQuery Parallax 1.1.3 by Ian Lunn (found here)
Inside of the called function there is the line
$window.bind('scroll', update).resize(update);
where update is a function. I changed this to
$window.on('scroll', update()).resize(update());
but update()
isn't being called. $window.scroll()
also isn't helping.
What can I do to restore functionality of my old functions?