Skip to content

Commit b43a368

Browse files
committed
Attributes: remove redundant parent check
1 parent 0402963 commit b43a368

File tree

Image for: File tree

1 file changed

Image for: 1 file changed
+1
-1
lines changed

1 file changed

Image for: 1 file changed
+1
-1
lines changed

‎src/attributes/prop.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ if ( !support.optSelected ) {
100100
if ( parent ) {
101101
parent.selectedIndex;
102102

103-
if ( parent && parent.parentNode ) {
103+
if ( parent.parentNode ) {
104104
parent.parentNode.selectedIndex;
105105
}
106106
}

0 commit comments

Image for: 0 commit comments
Comments
 (0)