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
20
Chart.js
vendored
20
Chart.js
vendored
@ -973,16 +973,16 @@
|
|||||||
isDatasetVisible = helpers.isDatasetVisible = function(dataset) {
|
isDatasetVisible = helpers.isDatasetVisible = function(dataset) {
|
||||||
return !dataset.hidden;
|
return !dataset.hidden;
|
||||||
},
|
},
|
||||||
pushAllIfDefined = helpers.pushAllIfDefined = function(element, array) {
|
pushAllIfDefined = helpers.pushAllIfDefined = function(element, array) {
|
||||||
if (typeof element == "undefined") {
|
if (typeof element == "undefined") {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isArray(element)) {
|
if (isArray(element)) {
|
||||||
array.push.apply(array, element);
|
array.push.apply(array, element);
|
||||||
} else {
|
} else {
|
||||||
array.push(element);
|
array.push(element);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}).call(this);
|
}).call(this);
|
||||||
|
|
||||||
|
@ -844,15 +844,15 @@
|
|||||||
isDatasetVisible = helpers.isDatasetVisible = function(dataset) {
|
isDatasetVisible = helpers.isDatasetVisible = function(dataset) {
|
||||||
return !dataset.hidden;
|
return !dataset.hidden;
|
||||||
},
|
},
|
||||||
pushAllIfDefined = helpers.pushAllIfDefined = function(element, array) {
|
pushAllIfDefined = helpers.pushAllIfDefined = function(element, array) {
|
||||||
if (typeof element == "undefined") {
|
if (typeof element == "undefined") {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isArray(element)) {
|
if (isArray(element)) {
|
||||||
array.push.apply(array, element);
|
array.push.apply(array, element);
|
||||||
} else {
|
} else {
|
||||||
array.push(element);
|
array.push(element);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}).call(this);
|
}).call(this);
|
||||||
|
Loading…
Reference in New Issue
Block a user