From: Philippe Jaubert <22506952+PhilJbt@users.noreply.github.com> Date: Wed, 19 Oct 2022 13:13:34 +0000 (+0200) Subject: Update tooltip.md (#10813) X-Git-Tag: v4.0.0-alpha.3~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5f5f468d3b90de9c6c0d3cc76484f2d1e12e2dd;p=thirdparty%2FChart.js.git Update tooltip.md (#10813) Fixed spawn closes before its content. --- diff --git a/docs/configuration/tooltip.md b/docs/configuration/tooltip.md index db55ca7be..f2430d4b9 100644 --- a/docs/configuration/tooltip.md +++ b/docs/configuration/tooltip.md @@ -304,8 +304,8 @@ const myPieChart = new Chart(ctx, { let style = 'background:' + colors.backgroundColor; style += '; border-color:' + colors.borderColor; style += '; border-width: 2px'; - const span = ''; - innerHtml += '' + span + body + ''; + const span = '' + body + ''; + innerHtml += '' + span + ''; }); innerHtml += '';