From 198a35b0eda92d58fd80944814281abd641cbb65 Mon Sep 17 00:00:00 2001 From: "racha.non" Date: Thu, 30 Jun 2016 13:39:29 +0700 Subject: [PATCH] 0.0.5.30.6 --- js/stdb.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/stdb.js b/js/stdb.js index 47bf867..71c7e84 100644 --- a/js/stdb.js +++ b/js/stdb.js @@ -41,7 +41,7 @@ function getStartPage(){ function LogoutPage(){ localStorage.removeItem('token'); sessionStorage.removeItem('token'); - window.location.href = 'login.html' + window.location.href = 'index.html' } function getStat(){ @@ -120,7 +120,7 @@ function getUser(status){ function getDataStat(respone){ getUser('first'); // console.log(respone) - document.getElementById("like").innerHTML = '0' + document.getElementById("like").innerHTML = respone.items.completed document.getElementById("status").innerHTML = '+'+respone.items.recent_update document.getElementById("accountActive").innerHTML = respone.users.active document.getElementById("numAll").innerHTML = respone.items.all