Fixed regression on new event popover closing

The setTimeout isn't good for reseting the skeleton ; it basically overrides the next time we open another day to add an event
This commit is contained in:
Alexis
2025-03-14 12:10:46 +01:00
parent 895d8a887b
commit c249dc8334

View File

@@ -38,7 +38,7 @@ function openEventCreatePopover() {
function handleClosing(e: Event) {
e.preventDefault()
popoverOpen.value = false
setTimeout(() => resetSkeleton(), 100)
resetSkeleton()
}
</script>