Remove default smooth scrolling
This was only better when the adminbar would mess up everything. Otherwise, it is just annoying
This commit is contained in:
parent
f23cbdf206
commit
80cc407fc5
@ -1934,13 +1934,6 @@ fcn_theBody.addEventListener('click', event => {
|
||||
}
|
||||
});
|
||||
|
||||
// Enable smooth scrolling if there is an anchor
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
if (window.location.hash) {
|
||||
fcn_theRoot.style.scrollBehavior = 'smooth';
|
||||
}
|
||||
});
|
||||
|
||||
// =============================================================================
|
||||
// MARK CURRENTLY ACTIVE MENU ITEM
|
||||
// =============================================================================
|
||||
|
Loading…
x
Reference in New Issue
Block a user