angular-charts icon indicating copy to clipboard operation
angular-charts copied to clipboard

chart in a bootstrap tab

Open shlatchz opened this issue 10 years ago • 0 comments

After hours of debugging I noticed that in the function:

function getChildrenByClassname(childrens, className) {

when it's called by:

height -= getChildrenByClassname(childrens, 'ac-title')[0].clientHeight;

In the following part:

for (var i in childrens) {

The "i" receives not just 0,1,2 but also many other strings which are not numbers. Can you please change it to:

for (var i = 0; i < childrens.length; i++) {

Instead? thanks!

shlatchz avatar Jan 02 '15 00:01 shlatchz