Prevent default event handling on block anon option
Co-authored-by: Andreas Nedbal <github-bf215181b5140522137b3d4f6b73544a@desu.email>
This commit is contained in:
parent
4814ccdaa5
commit
48f70c9e47
|
@ -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'),
|
||||
|
|
Loading…
Reference in New Issue