selectorText of some css rules can be undefined

pull/85/head
nightwing 2015-04-22 00:11:51 +04:00
rodzic 8ec0d8e5fe
commit 42a1dc5592
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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) {