]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Fix typo in sample (#7557)
authorBen McCann <322311+benmccann@users.noreply.github.com>
Mon, 29 Jun 2020 11:50:35 +0000 (04:50 -0700)
committerGitHub <noreply@github.com>
Mon, 29 Jun 2020 11:50:35 +0000 (07:50 -0400)
samples/tooltips/custom-pie.html

index 8350123b1fd7ba93c31e9224ba402a21fe3c2eb5..96da5f56b28b11d94cfac8a1d0c60c848ab0e1f7 100644 (file)
@@ -43,7 +43,7 @@
        </div>
 
        <script>
-               Chart.default.tooltips.custom = function(tooltip) {
+               Chart.defaults.tooltips.custom = function(tooltip) {
                        // Tooltip Element
                        var tooltipEl = document.getElementById('chartjs-tooltip');