Skip to content

Commit

Permalink
Attributes: remove redundant parent check
Browse files Browse the repository at this point in the history
  • Loading branch information
timmywil committed Mar 7, 2016
1 parent 0402963 commit b43a368
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/attributes/prop.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ if ( !support.optSelected ) {
if ( parent ) { if ( parent ) {
parent.selectedIndex; parent.selectedIndex;


if ( parent && parent.parentNode ) { if ( parent.parentNode ) {

This comment has been minimized.

Copy link
@markelog

markelog Mar 12, 2016

Member

How did you find this? Why it was needed previously?

This comment has been minimized.

Copy link
@mgol

mgol Mar 12, 2016

Member

It wasn't needed, it all landed in 780cac8 with the redundant check. No biggie.

parent.parentNode.selectedIndex; parent.parentNode.selectedIndex;
} }
} }
Expand Down

0 comments on commit b43a368

Please sign in to comment.