Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect container variable #21

Open
vinimontanheiro opened this issue May 17, 2017 · 0 comments
Open

Incorrect container variable #21

vinimontanheiro opened this issue May 17, 2017 · 0 comments
Assignees

Comments

@vinimontanheiro
Copy link

Hello, in the file myt-pie-chart.js on line 56 and 57. You should to change to :

          this.setHeight(document.getElementById(this.container).offsetHeight);
          this.setWidth(document.getElementById(this.container).offsetWidth);

Current is :
```
this.setHeight(document.getElementById(container).offsetHeight);
this.setWidth(document.getElementById(container).offsetWidth);

If not the element never will found.

Thanks!
@anteAdamovic anteAdamovic self-assigned this May 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants