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

Array contains function as well #5

Open
makapacs opened this issue Dec 11, 2011 · 0 comments
Open

Array contains function as well #5

makapacs opened this issue Dec 11, 2011 · 0 comments

Comments

@makapacs
Copy link

Hi,

Second issue was when executing function 'fixTextShadows()' the following line:

     for (var i in rules) {

The issue was that an array/list 'rules' contained besides a rule also some function making an IE Script error:

     'selector' is null or not an object

Solution replaced above listed for loop line with the following:

     for (var i = 0; i < rules.length; i++) {

I hope this helps.

Margots

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