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:
Rsl1122 2019-10-19 00:00:33 +03:00
parent a5fbe76c39
commit 55401c86c1
2 changed files with 0 additions and 2 deletions

View File

@ -963,7 +963,6 @@
jsonRequest("../v1/network/pingTable", loadPingTable);
$('.server-name').text('${networkDisplayName}');
$('.player-plugin-table').DataTable({
responsive: true
});

View File

@ -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
});