fix with autoOpen

main
Midnight 3 years ago
parent c936b1396e
commit 9f06e3e8f9

@ -7,7 +7,7 @@
export let note = null; export let note = null;
onMount(() => { onMount(() => {
if(window.location.hash == null && autoOpen == true) { if(window.location.hash == "" && autoOpen == true) {
openAccordion(); openAccordion();
} else if(window.location.hash == "#" + id) { } else if(window.location.hash == "#" + id) {
openAccordion(); openAccordion();

Loading…
Cancel
Save