diff --git a/app/javascript/retrospring/features/moderation/blockAnon.ts b/app/javascript/retrospring/features/moderation/blockAnon.ts index 5d7abdbd..5c587300 100644 --- a/app/javascript/retrospring/features/moderation/blockAnon.ts +++ b/app/javascript/retrospring/features/moderation/blockAnon.ts @@ -5,6 +5,8 @@ import { showErrorNotification, showNotification } from "utilities/notifications import I18n from "retrospring/i18n"; export function blockAnonEventHandler(event: Event): void { + event.preventDefault(); + swal({ title: I18n.translate('frontend.mod_mute.confirm.title'), text: I18n.translate('frontend.mod_mute.confirm.text'),