diff --git a/Plan/src/main/java/com/djrapitops/plan/ui/text/TextUI.java b/Plan/src/main/java/com/djrapitops/plan/ui/text/TextUI.java index 6d768862f..08fafbe8c 100644 --- a/Plan/src/main/java/com/djrapitops/plan/ui/text/TextUI.java +++ b/Plan/src/main/java/com/djrapitops/plan/ui/text/TextUI.java @@ -84,12 +84,12 @@ public class TextUI { final TPSPart tps = d.getTpsPart(); return new String[]{ ball + " Total Players: " + sec + count.getPlayerCount(), - // + ball + " Active: " + sec + activity.getActive().size() + main + " Inactive: " + sec + activity.getInactive().size() + main + " Single Join: " + sec + activity.getJoinedOnce().size() + main + " Banned: " + sec + activity.getBans().size(), - // + ball + " New Players 24h: " + sec + join.get("npday") + main + " 7d: " + sec + d.get("npweek") + main + " 30d: " + sec + d.get("npmonth"), "", ball + " Total Playtime: " + sec + playtime.get("totalplaytime") + main + " Player Avg: " + sec + playtime.get("avgplaytime"), diff --git a/Plan/src/main/resources/player.html b/Plan/src/main/resources/player.html index ce840bbca..8c84c7d05 100644 --- a/Plan/src/main/resources/player.html +++ b/Plan/src/main/resources/player.html @@ -741,12 +741,12 @@ function openFunc(i) { return function() { - if (window.getComputedStyle(document.getElementById("navbutton")).getPropertyValue('display') == "inline") { + if (window.getComputedStyle(document.getElementById("navbutton")).getPropertyValue('display') === "inline") { closeNav(); } var max = navButtons.length; for (var j = 0; j < max; j++) { - if (j == i) { + if (j === i) { navButtons[j].classList.add('active'); continue; }