diff --git a/web/components/watchlist/dropdown.templ b/web/components/watchlist/dropdown.templ index 8dca919..22a2a5d 100644 --- a/web/components/watchlist/dropdown.templ +++ b/web/components/watchlist/dropdown.templ @@ -17,6 +17,7 @@ templ WatchlistDropdown( onclick="toggleDropdown()" data-dropdown-trigger > + type="button" if currentStatus != "" { { formatStatus(currentStatus) } } else { @@ -41,6 +42,7 @@ templ WatchlistDropdown( hx-delete={ string(templ.URL(fmt.Sprintf("/api/watchlist/%d", animeID))) } hx-target="#watchlist-dropdown" hx-swap="outerHTML swap:150ms" + type="button" > Remove from list