mirror of
https://github.com/meshtastic/meshtastic.git
synced 2024-12-25 05:34:11 -08:00
do not scroll when all collapsed
This commit is contained in:
parent
bed46b5c79
commit
e24ea2283f
|
@ -63,7 +63,7 @@ const updateUrlWithNearestHeadingId = (targetElementUuid: string): void => {
|
|||
|
||||
// If they're all collapsed, remove the hash
|
||||
if (!targetElement) {
|
||||
window.location.hash = "";
|
||||
history.pushState(null, null, window.location.origin + window.location.pathname + window.location.search);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue