Skip to content

Commit

Permalink
Change to valid script attribute (#2448)
Browse files Browse the repository at this point in the history
  • Loading branch information
omsaggau authored Jan 18, 2024
1 parent c5fd2e0 commit 66ef785
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/site/parts/highchart/highchart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function renderPart(req: XP.Request, highchartIds: Array<string>): XP.Response {
.filter((key) => !!key)

const inlineScript: Array<string> = highcharts.map(
(highchart) => `<script inline="javascript">
(highchart) => `<script type="text/javascript">
window['highchart' + '${highchart.contentKey}'] = ${JSON.stringify(highchart.config)}
</script>`
)
Expand Down

0 comments on commit 66ef785

Please sign in to comment.