mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-28 11:01:28 +01:00
Fixes method terminating in player.html & analysis.html
This commit is contained in:
parent
0f530b6e61
commit
fc3f7c96f7
@ -68,7 +68,7 @@ public class ListCommand extends SubCommand {
|
|||||||
|
|
||||||
// Link
|
// Link
|
||||||
String url = HtmlUtils.getServerAnalysisUrlWithProtocol().replace("server", "players");
|
String url = HtmlUtils.getServerAnalysisUrlWithProtocol().replace("server", "players");
|
||||||
String message = Phrase.CMD_LINK + "";
|
String message = Phrase.CMD_LINK.toString();
|
||||||
boolean console = !CommandUtils.isPlayer(sender);
|
boolean console = !CommandUtils.isPlayer(sender);
|
||||||
if (console) {
|
if (console) {
|
||||||
sender.sendMessage(message + url);
|
sender.sendMessage(message + url);
|
||||||
@ -76,6 +76,6 @@ public class ListCommand extends SubCommand {
|
|||||||
sender.sendMessage(message);
|
sender.sendMessage(message);
|
||||||
sender.sendLink(" ", Phrase.CMD_CLICK_ME.toString(), url);
|
sender.sendLink(" ", Phrase.CMD_CLICK_ME.toString(), url);
|
||||||
}
|
}
|
||||||
sender.sendMessage(Phrase.CMD_FOOTER + "");
|
sender.sendMessage(Phrase.CMD_FOOTER.toString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -855,8 +855,8 @@
|
|||||||
var x = document.getElementById("main");
|
var x = document.getElementById("main");
|
||||||
x.style.transform = "translate3d(0px,0px,0)";
|
x.style.transform = "translate3d(0px,0px,0)";
|
||||||
x.style.width = "" + navButtons.length * 100 + "%";
|
x.style.width = "" + navButtons.length * 100 + "%";
|
||||||
for (i = 0; i < navButtons.length; i++) {
|
for (var i = 0; i < navButtons.length; i++) {
|
||||||
navButtons[i].onclick = openFunc(i)
|
navButtons[i].onclick = openFunc(i);
|
||||||
tabs[i].style.width = "" + 100 / navButtons.length + "%";
|
tabs[i].style.width = "" + 100 / navButtons.length + "%";
|
||||||
}
|
}
|
||||||
x.style.opacity = "1";
|
x.style.opacity = "1";
|
||||||
|
@ -582,8 +582,8 @@
|
|||||||
x.style.transform = "translate3d(0px,0px,0)";
|
x.style.transform = "translate3d(0px,0px,0)";
|
||||||
x.style.width = ""+navButtons.length*100+"%";
|
x.style.width = ""+navButtons.length*100+"%";
|
||||||
|
|
||||||
for (i=0; i < navButtons.length; i++) {
|
for (var i = 0; i < navButtons.length; i++) {
|
||||||
navButtons[i].onclick = openFunc(i)
|
navButtons[i].onclick = openFunc(i);
|
||||||
tabs[i].style.width = ""+100/navButtons.length+"%";
|
tabs[i].style.width = ""+100/navButtons.length+"%";
|
||||||
}
|
}
|
||||||
x.style.opacity = "1";
|
x.style.opacity = "1";
|
||||||
|
Loading…
Reference in New Issue
Block a user