Hi, I'm trying to pass a callback function for the onAfter method of scrollTo via scrollOptions. It works fine with the vanilla JS file but not with the minified version. After some digging I found that the normal function call for scrollTo is as so
$(window).scrollTo($child, scroll_speed, scroll_options);
while the minified version does only
and does not pass the third scroll_options argument, so any options is ignored. I minified the JS with UglifyJS and it works perfect, outputting the expected
t(n).scrollTo(a,l,scroll_options)
best,
Thibault