Attributes: remove redundant parent check

This commit is contained in:
Timmy Willison 2016-03-07 11:29:39 -05:00
parent 67d4aebda7
commit b38bee5ba3

View File

@ -99,7 +99,7 @@ if ( !support.optSelected ) {
if ( parent ) {
parent.selectedIndex;
if ( parent && parent.parentNode ) {
if ( parent.parentNode ) {
parent.parentNode.selectedIndex;
}
}