From 5213c0f91d60cfd74bfd1e2d7e19079dd748d5a2 Mon Sep 17 00:00:00 2001 From: creeper123123321 <7974274+creeper123123321@users.noreply.github.com> Date: Sun, 7 Mar 2021 10:37:18 -0300 Subject: [PATCH] call .preventDefault() --- src/main/resources/web/auth.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/resources/web/auth.js b/src/main/resources/web/auth.js index 419c898..4a0b5ec 100644 --- a/src/main/resources/web/auth.js +++ b/src/main/resources/web/auth.js @@ -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") {