1
0
mirror of https://github.com/morris/vanilla-todo.git synced 2025-08-21 13:21:29 +02:00

fix issue where collapsible would toggle unnecessarily

This commit is contained in:
Morris Brodersen
2023-11-15 20:39:32 +01:00
parent b6a60a0714
commit 6930416e4d

View File

@@ -113,7 +113,7 @@ export function TodoApp(el) {
);
el.querySelectorAll('.app-collapsible').forEach((el) =>
el.dispatchEvent(new CustomEvent('collapse')),
el.dispatchEvent(new CustomEvent('collapse', { detail: false })),
);
}