mirror of
https://github.com/ViaVersion/VIAaaS.git
synced 2024-11-24 12:25:39 +01:00
call .preventDefault()
This commit is contained in:
parent
23d0ed2574
commit
5213c0f91d
@ -299,6 +299,7 @@ function authNotification(msg, yes, no) {
|
||||
//]
|
||||
});
|
||||
notification.onclick = e => {
|
||||
e.preventDefault();
|
||||
if (e.action == "reject") {
|
||||
no();
|
||||
} else if (!e.action || e.action == "confirm") {
|
||||
|
Loading…
Reference in New Issue
Block a user