garand / sticky

jQuery Plugin for Sticky Objects
Other
3.3k stars 1.06k forks source link

Doesn't work with latest jquery 3.4.1 #292

Open oshanz opened 4 years ago

oshanz commented 4 years ago

I used this plugin with jquery 3.3.1. but once I update to jquery 3.4.1 Its not working anymore. I had to downgrade jquery version back to 3.3.1.

change logs after 3.3.1:

sumanita commented 4 years ago

If you initialised sticky like this $(window).load(function(){...}); change it to $(window).on('load', function(){ ...}); as .load is deprecated in latest jQuery.