mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-15 05:41:51 +08:00
Removed usage of Server name in JS
Improper sanitation was causing issues when server name contained a single quote symbol. .server-name replacement was not in use so the offending line of JS code could be removed. Affects issues: - Fixed #1191
This commit is contained in:
parent
a5fbe76c39
commit
55401c86c1
@ -963,7 +963,6 @@
|
||||
|
||||
jsonRequest("../v1/network/pingTable", loadPingTable);
|
||||
|
||||
$('.server-name').text('${networkDisplayName}');
|
||||
$('.player-plugin-table').DataTable({
|
||||
responsive: true
|
||||
});
|
||||
|
@ -1597,7 +1597,6 @@
|
||||
jsonRequest("../v1/kills?server=${serverUUID}", loadPlayerKills);
|
||||
jsonRequest("../v1/pingTable?server=${serverUUID}", loadPingTable);
|
||||
|
||||
$('.server-name').text('${serverName}');
|
||||
$('.player-plugin-table').DataTable({
|
||||
responsive: true
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user