From: Evert Timberg Date: Tue, 14 Jun 2016 23:19:15 +0000 (-0400) Subject: fix tooltip with array returns X-Git-Tag: v2.1.6~1^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2776%2Fhead;p=thirdparty%2FChart.js.git fix tooltip with array returns --- diff --git a/src/core/core.tooltip.js b/src/core/core.tooltip.js index e21934140..d55dd2be0 100755 --- a/src/core/core.tooltip.js +++ b/src/core/core.tooltip.js @@ -86,7 +86,8 @@ module.exports = function(Chart) { function pushOrConcat(base, toPush) { if (toPush) { if (helpers.isArray(toPush)) { - base = base.concat(toPush); + //base = base.concat(toPush); + Array.prototype.push.apply(base, toPush); } else { base.push(toPush); }