fix selected menu item not updating correctly
All checks were successful
deploy / build-and-deploy (push) Successful in 14s
All checks were successful
deploy / build-and-deploy (push) Successful in 14s
This commit is contained in:
@@ -67,7 +67,7 @@
|
||||
|
||||
onMount(() => {
|
||||
updateActiveNavPath();
|
||||
new MutationObserver(updateActiveNavPath).observe(document.head, { childList: true });
|
||||
new MutationObserver(() => setTimeout(updateActiveNavPath)).observe(document.head, { childList: true });
|
||||
});
|
||||
|
||||
// functions
|
||||
|
||||
Reference in New Issue
Block a user