fixed: stop worker when needed

This commit is contained in:
quenousimporte 2023-01-22 21:20:19 +01:00
parent 1f9a2d303c
commit 74fe532bee
1 changed files with 2 additions and 0 deletions

View File

@ -279,6 +279,7 @@ function switchvault()
var other = othervault();
if (confirm("Switch to " + other + "?"))
{
clearInterval(workerid);
window.localStorage.setItem("vault", other);
init();
}
@ -743,6 +744,7 @@ function init()
function togglepassword()
{
clearInterval(workerid);
password.value = "";
authentpage.hidden = false;
notepage.style.display = "none";