File "button.min.js"
Full Path: /home/ycoalition/public_html/blog/wp-content/themes/woodmart/js/scripts/elements/button.min.js
File size: 450 bytes
MIME-type: text/plain
Charset: utf-8
!function(n){woodmartThemeModule.buttonSmoothScroll=function(){n(".wd-button-wrapper.wd-smooth-scroll a").on("click",function(o){o.stopPropagation(),o.preventDefault();var o=n(this),t=o.parent().data("smooth-time"),e=o.parent().data("smooth-offset"),o=o.attr("href").split("#")[1],o=n("#"+o);o.length<1||(o=o.offset().top,n("html, body").animate({scrollTop:o-e},t))})},n(document).ready(function(){woodmartThemeModule.buttonSmoothScroll()})}(jQuery);