Hi,
I've just modified a part of code on script.js file in folder "templates/ja_muzic/js" as advised on my request "Jump when scrolling on gallery".
Since then, "scroll to top" button doesn't work anymore. I've tried with script.js file not modified, it works, modified it doesn't work.
I've put the following code on comments in the script.js file :
" (function(){
// Add class for mainmenu when scroller
var min = null,
sid = null,
mainnav = $('#t3-mainnav');
if(mainnav.length){
$(window).scroll(function() {
if(min != $(window).scrollTop() > mainnav.outerHeight(true) *0.4){
min = !min;
min ? mainnav.addClass('affix') : mainnav.removeClass('min-mainnav');
//force reflow
mainnav[0].offsetWidth;
min ? mainnav.addClass('min-mainnav') : mainnav.removeClass('affix');
}
})
}
})();
"
Could you please help me to make this button working again ?
Thanks a lot
Regards
Carine