Skip to content

Fix the External stylesheets error in Firefox #52

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

Merged
merged 1 commit into from
May 6, 2015

Conversation

ElManouche
Copy link
Contributor

To circumvent the SecurityError in Firefox when attempting to access the cssRules attribute on external stylesheets, you must use a try/catch statement.

From: https://github.com/Turistforeningen/sherpa/commit/a8c9ac8358c96fa2097239425949e0f96f748daa

To circumvent the SecurityError in Firefox when attempting to access the cssRules attribute on external stylesheets, you must use a try/catch statement.
marcj added a commit that referenced this pull request May 6, 2015
Fix the External stylesheets error in Firefox
@marcj marcj merged commit 996d903 into marcj:master May 6, 2015
@marcj
Copy link
Owner

marcj commented May 6, 2015

Thanks 😄

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