diff --git a/templates/partials/workout_modal.html b/templates/partials/workout_modal.html index fa31e32..d8f28df 100644 --- a/templates/partials/workout_modal.html +++ b/templates/partials/workout_modal.html @@ -85,8 +85,12 @@
+ hx-swap="beforeend" hx-target="#new-workout" _="on htmx:afterOnLoad if #no-workouts add .hidden to #no-workouts end + on htmx:afterRequest + js + displayNotification('Topset added') + end + then reset() me">