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

Solved problem security Firefox #6

Open
JeroenVisbeek opened this issue Sep 20, 2018 · 0 comments
Open

Solved problem security Firefox #6

JeroenVisbeek opened this issue Sep 20, 2018 · 0 comments

Comments

@JeroenVisbeek
Copy link

Since September 2018 I got the warning in Firefox:

The operation is insecure
My website was not functional, because of this waring.
In Microsoft Edge, I had no problems.

I solved this by changing the code in jquery-scrollToTop.js
rule 221:
if (document.styleSheets && document.styleSheets.length) {
in
if (document.styleSheets && document.styleSheets.length == 0) {

This works for me

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

1 participant