zoltan-dulac/cssSandpaper — Issue #5: Array contains function as well
Author: makapacs
Created: 2011-12-11 21:28:16+00:00
State: open

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