mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-16 05:01:43 +01:00
Remove unnecessary comments
Change some == to === in JS Code
This commit is contained in:
parent
2365ac2cc7
commit
94e1003fcf
@ -84,12 +84,12 @@ public class TextUI {
|
|||||||
final TPSPart tps = d.getTpsPart();
|
final TPSPart tps = d.getTpsPart();
|
||||||
return new String[]{
|
return new String[]{
|
||||||
ball + " Total Players: " + sec + count.getPlayerCount(),
|
ball + " Total Players: " + sec + count.getPlayerCount(),
|
||||||
//
|
|
||||||
ball + " Active: " + sec + activity.getActive().size()
|
ball + " Active: " + sec + activity.getActive().size()
|
||||||
+ main + " Inactive: " + sec + activity.getInactive().size()
|
+ main + " Inactive: " + sec + activity.getInactive().size()
|
||||||
+ main + " Single Join: " + sec + activity.getJoinedOnce().size()
|
+ main + " Single Join: " + sec + activity.getJoinedOnce().size()
|
||||||
+ main + " Banned: " + sec + activity.getBans().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 + " 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"),
|
ball + " Total Playtime: " + sec + playtime.get("totalplaytime") + main + " Player Avg: " + sec + playtime.get("avgplaytime"),
|
||||||
|
@ -741,12 +741,12 @@
|
|||||||
|
|
||||||
function openFunc(i) {
|
function openFunc(i) {
|
||||||
return function() {
|
return function() {
|
||||||
if (window.getComputedStyle(document.getElementById("navbutton")).getPropertyValue('display') == "inline") {
|
if (window.getComputedStyle(document.getElementById("navbutton")).getPropertyValue('display') === "inline") {
|
||||||
closeNav();
|
closeNav();
|
||||||
}
|
}
|
||||||
var max = navButtons.length;
|
var max = navButtons.length;
|
||||||
for (var j = 0; j < max; j++) {
|
for (var j = 0; j < max; j++) {
|
||||||
if (j == i) {
|
if (j === i) {
|
||||||
navButtons[j].classList.add('active');
|
navButtons[j].classList.add('active');
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user