$(function() {
// Function to scroll to the top
function scrollToTop() {
$(‘html, body’).animate({ scrollTop: 0 }, ‘fast’);
}
// Prevent horizontal scrolling
$(‘body’).css(‘overflow-x’, ‘hidden’);
// Handle hash router.
if (window.location.hash) {
// Scroll to top if there is a hash
scrollToTop();
// Handle hash router after a short delay to ensure scrolling is complete
setTimeout(function() {
window.location = window.location.pathname;
}, 500);
}
});
added this in the code in the plugin as mention in previous replies
Yes unfortunately this still happens when i disable MMM
Such a legend. let me browse this and check this out, maby i can manipulate a few things … thanks for the directional search, just incase where and how did you spot this issue