Skip to content
Permalink
Browse files

remove broken weekly reward timer from home page

  • Loading branch information...
lusbenjamin committed Jul 2, 2019
1 parent 9a1d0fb commit 93d261d63e100410f87ab2411e1abee63c4563c4
Showing with 9 additions and 9 deletions.
  1. +9 −9 window_main/home.js
@@ -59,11 +59,11 @@ function openHomeTab(arg, opentab = true) {
);
daily.style.textAlign = "center";

let weekly = createDiv(
["text_centered", "white", "weekly_left"],
"Weekly rewards end: -"
);
weekly.style.textAlign = "center";
// let weekly = createDiv(
// ["text_centered", "white", "weekly_left"],
// "Weekly rewards end: -"
// );
// weekly.style.textAlign = "center";

if (homeInterval !== null) clearInterval(homeInterval);

@@ -72,14 +72,14 @@ function openHomeTab(arg, opentab = true) {
let timeleft = dd.getTime() / 1000 - timestamp();
daily.innerHTML = "Daily rewards end: " + toDDHHMMSS(timeleft);

dd = db.rewards_weekly_ends;
timeleft = dd.getTime() / 1000 - timestamp();
weekly.innerHTML = "Weekly rewards end: " + toDDHHMMSS(timeleft);
// dd = db.rewards_weekly_ends;
// timeleft = dd.getTime() / 1000 - timestamp();
// weekly.innerHTML = "Weekly rewards end: " + toDDHHMMSS(timeleft);
}, 250);

mainDiv.appendChild(users);
mainDiv.appendChild(daily);
mainDiv.appendChild(weekly);
// mainDiv.appendChild(weekly);
}

let d = createDiv(["list_fill"]);

0 comments on commit 93d261d

Please sign in to comment.
You can’t perform that action at this time.