diff --git a/Plan/common/src/main/resources/assets/plan/web/player.html b/Plan/common/src/main/resources/assets/plan/web/player.html index 58d549df8..3337c6323 100644 --- a/Plan/common/src/main/resources/assets/plan/web/player.html +++ b/Plan/common/src/main/resources/assets/plan/web/player.html @@ -716,8 +716,9 @@ Highcharts.setOptions({ lang: {noData: "No Data to Display"}, time: {timezoneOffset: ${timeZone} * 60} }); + const playerName = '${playerName}'; setLoadingText('Loading player values..'); - jsonRequest(`../v1/player?player=${encodeURIComponent('${playerName}')}`, function (json, error) { + jsonRequest(`../v1/player?player=${encodeURIComponent(playerName)}`, function (json, error) { loadPlayerOverviewValues(json, error); loadSessionAccordion(json, error); loadserverAccordion(json, error);