Skip to content

Commit 9249436

Browse files
committed
Fix null element exception with toLowerCase()
1 parent 7918e15 commit 9249436

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

intro.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@
529529
}
530530

531531
//Prevent exception in IE
532-
if(propValue.toLowerCase) {
532+
if(propValue && propValue.toLowerCase) {
533533
return propValue.toLowerCase();
534534
} else {
535535
return propValue;

0 commit comments

Comments
 (0)