call .preventDefault()

This commit is contained in:
creeper123123321 2021-03-07 10:37:18 -03:00 committed by GitHub
parent 23d0ed2574
commit 5213c0f91d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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") {