Add success popup to Password Change UI
This commit is contained in:
parent
89f3653bca
commit
f9da14d044
@ -485,6 +485,12 @@ async function sendPass(password) {
|
|||||||
});
|
});
|
||||||
if(response.ok){
|
if(response.ok){
|
||||||
console.log(`Password Changed!`)
|
console.log(`Password Changed!`)
|
||||||
|
confirmation()
|
||||||
|
await delay(1000)
|
||||||
|
const popupdivparent = document.querySelector('.popupdivparent')
|
||||||
|
const popupdiv = document.querySelector('.popupdivchild')
|
||||||
|
popupdivparent.style.display = "none"
|
||||||
|
popupdiv.innerHTML = ''
|
||||||
}
|
}
|
||||||
if(!response.ok){
|
if(!response.ok){
|
||||||
isError = true
|
isError = true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user