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

Save image don't work #40

Open
jmsong2 opened this issue Sep 4, 2019 · 1 comment
Open

Save image don't work #40

jmsong2 opened this issue Sep 4, 2019 · 1 comment

Comments

@jmsong2
Copy link

jmsong2 commented Sep 4, 2019

Hi,

 The button of 'save image' is not working, even thought the demo http://constantinoschillebeeckx.github.io/phylogram_d3/. 

And the Chrome brower returned a error information "Uncaught DOMException: Failed to read the 'rules' property from 'CSSStyleSheet': Cannot access rules at HTMLButtonElement.saveSVG (https://cdn.rawgit.com/ConstantinoSchillebeeckx/phylogram_d3/9bc07b2c/js/utils.js:1139:31) at HTMLButtonElement.__onclick (https://d3js.org/d3.v3.min.js:1:5253)" .
Look forward to your help. Thank you.

Regards,
Jiaming

@ConstantinoSchillebeeckxSimpleRose

Are you by chance using Chrome? It looks like Chrome is now enforcing CORS policy for stylesheets which is the issue here.

This project is a bit old and isn't being maintained anymore.

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