Commit c41deabd authored by Jean-Luc Martin's avatar Jean-Luc Martin

forgot to commit built files for bower to use

parent 23120a21
...@@ -2609,7 +2609,15 @@ ...@@ -2609,7 +2609,15 @@
c3_chart_internal_fn.getParentRectValue = function (key) { c3_chart_internal_fn.getParentRectValue = function (key) {
var parent = this.selectChart.node(), v; var parent = this.selectChart.node(), v;
while (parent && parent.tagName !== 'BODY') { while (parent && parent.tagName !== 'BODY') {
v = parent.getBoundingClientRect()[key]; try {
v = parent.getBoundingClientRect()[key];
} catch(e) {
if (key === 'width') {
// In IE in certain cases getBoundingClientRect
// will cause an "unspecified error"
v = parent.offsetWidth;
}
}
if (v) { if (v) {
break; break;
} }
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment