setTimeout during logout
This commit is contained in:
parent
063127409f
commit
390d703f4d
@ -10028,7 +10028,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
parseArticles(articles)
|
parseArticles(articles)
|
||||||
debugger
|
|
||||||
let map_articlekey_column = renderColumns(parsedarticles)
|
let map_articlekey_column = renderColumns(parsedarticles)
|
||||||
let articleInfo = values[1]
|
let articleInfo = values[1]
|
||||||
let articles_votesmapping = {}
|
let articles_votesmapping = {}
|
||||||
@ -10097,7 +10096,11 @@
|
|||||||
|
|
||||||
document.getElementById('logout-button').addEventListener("click", function () {
|
document.getElementById('logout-button').addEventListener("click", function () {
|
||||||
floDapps.clearCredentials()
|
floDapps.clearCredentials()
|
||||||
notifications.push('Succesfully logged out')
|
notifications.push('Succesfully logged out')
|
||||||
|
setTimeout(function () {
|
||||||
|
location.reload()
|
||||||
|
}, 2000);
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|
||||||
document.getElementById('settings-button').addEventListener("click", function () {
|
document.getElementById('settings-button').addEventListener("click", function () {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user