mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-07 12:49:07 +02:00
Fixed tab sizing in core.helpers.js
This commit is contained in:
parent
098b05f1b2
commit
1692b977cd
18
Chart.js
vendored
18
Chart.js
vendored
@ -973,16 +973,16 @@
|
||||
isDatasetVisible = helpers.isDatasetVisible = function(dataset) {
|
||||
return !dataset.hidden;
|
||||
},
|
||||
pushAllIfDefined = helpers.pushAllIfDefined = function(element, array) {
|
||||
if (typeof element == "undefined") {
|
||||
return;
|
||||
}
|
||||
pushAllIfDefined = helpers.pushAllIfDefined = function(element, array) {
|
||||
if (typeof element == "undefined") {
|
||||
return;
|
||||
}
|
||||
|
||||
if (isArray(element)) {
|
||||
array.push.apply(array, element);
|
||||
} else {
|
||||
array.push(element);
|
||||
}
|
||||
if (isArray(element)) {
|
||||
array.push.apply(array, element);
|
||||
} else {
|
||||
array.push(element);
|
||||
}
|
||||
};
|
||||
}).call(this);
|
||||
|
||||
|
@ -844,15 +844,15 @@
|
||||
isDatasetVisible = helpers.isDatasetVisible = function(dataset) {
|
||||
return !dataset.hidden;
|
||||
},
|
||||
pushAllIfDefined = helpers.pushAllIfDefined = function(element, array) {
|
||||
if (typeof element == "undefined") {
|
||||
return;
|
||||
}
|
||||
pushAllIfDefined = helpers.pushAllIfDefined = function(element, array) {
|
||||
if (typeof element == "undefined") {
|
||||
return;
|
||||
}
|
||||
|
||||
if (isArray(element)) {
|
||||
array.push.apply(array, element);
|
||||
} else {
|
||||
array.push(element);
|
||||
}
|
||||
if (isArray(element)) {
|
||||
array.push.apply(array, element);
|
||||
} else {
|
||||
array.push(element);
|
||||
}
|
||||
};
|
||||
}).call(this);
|
||||
|
Loading…
Reference in New Issue
Block a user