mirror of
https://github.com/chartjs/Chart.js.git
synced 2026-03-09 17:56:51 +01:00
fix tooltip with array returns
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user