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

Use HTML DOM style Property instead of adding inline styles to elements #928

Merged
merged 1 commit into from
Apr 5, 2017

Conversation

x1c0
Copy link

@x1c0 x1c0 commented Apr 5, 2017

Charts rendering are being blocked by Content Security Policy in the inline style rule.

@gionkunz
Copy link
Collaborator

gionkunz commented Apr 5, 2017

Nice! Thanks. This fixes #619 #620

@gionkunz gionkunz merged commit 3d7ffb5 into chartist-js:develop Apr 5, 2017
adamchainz added a commit to adamchainz/chartist-js that referenced this pull request Nov 20, 2018
PR chartist-js#928 fixed most inline style errors from Content Security Policy, but it missed this one. This fixes another error by again using `style` to add the style rule.
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

Successfully merging this pull request may close these issues.

2 participants