From 390d703f4d3c833a4482fae3128829861b47c0dc Mon Sep 17 00:00:00 2001 From: Vivek Teega Date: Wed, 2 Sep 2020 19:45:52 +0530 Subject: [PATCH] setTimeout during logout --- index.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index abaabd2..3c786e4 100644 --- a/index.html +++ b/index.html @@ -10028,7 +10028,6 @@ } parseArticles(articles) - debugger let map_articlekey_column = renderColumns(parsedarticles) let articleInfo = values[1] let articles_votesmapping = {} @@ -10097,7 +10096,11 @@ document.getElementById('logout-button').addEventListener("click", function () { floDapps.clearCredentials() - notifications.push('Succesfully logged out') + notifications.push('Succesfully logged out') + setTimeout(function () { + location.reload() + }, 2000); + }) document.getElementById('settings-button').addEventListener("click", function () {