Small fixes
RedskyThirty opened this issue · 0 comments
RedskyThirty commented
If you use jQuery 3+, replace all methods "bind" and "unbind" by "on" and "off".
For a better target, change
sections = $(settings.sectionContainer)
by
sections = el.find(settings.sectionContainer)
Also, update this or the param "updateURL" makes not sense
$(".onepage-pagination li a").click(function (event){ event.preventDefault(); var page_index = $(this).data("index"); el.moveTo(page_index); });