Smooth-Div-Scroll icon indicating copy to clipboard operation
Smooth-Div-Scroll copied to clipboard

jQuery 3 broke plugin...

Open chumager opened this issue 9 years ago • 2 comments

Hi... in the jQuery 3 you must use $(window).on("load",()=>{}); instead of $(window).load(()=>{})

best regards

chumager avatar Oct 23 '16 20:10 chumager

Just ran into the same issue when migrating the old code. Thanks for the heads up. I switched the code from .load() to .on(); Works in my case. Minified code attached.

jquery.smoothdivscroll-1.3-min-mod.js.txt

kuratsunade avatar Dec 21 '16 03:12 kuratsunade

Popped in a pull request as this plugin is dead in the water, hopefully they'll accept: https://github.com/tkahn/Smooth-Div-Scroll/pull/206

entozoon avatar Jan 20 '17 10:01 entozoon