kopia lustrzana https://github.com/c9/core
selectorText of some css rules can be undefined
rodzic
8ec0d8e5fe
commit
42a1dc5592
|
@ -9683,7 +9683,7 @@ var ID = "id",
|
|||
for (j = rules.length - 1; j >= 0; j--) {
|
||||
var rule = rules[j];
|
||||
|
||||
if (!rule.style || !rule.selectorText.match("\." + className + "$"))
|
||||
if (!rule.style || !(rule.selectorText || "").match("\." + className + "$"))
|
||||
continue;
|
||||
|
||||
for (style in rule.style) {
|
||||
|
|
Ładowanie…
Reference in New Issue