PMSI-AlignAlytics / dimple

An object-oriented API for business analytics
Other
2.73k stars 556 forks source link

Update _parentHeight.js #218

Closed laxgeek closed 8 years ago

laxgeek commented 8 years ago

The firefox issue (https://bugzilla.mozilla.org/show_bug.cgi?id=649285) was closed as invalid. Chrome is also deprecating offsetWidth and offsetHeight in April 2016. parent.getBoundingClientRect().width is a more explicit call to get the outer object width