mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Attributes: remove redundant parent check
This commit is contained in:
parent
0402963845
commit
b43a3685b6
@ -100,7 +100,7 @@ if ( !support.optSelected ) {
|
||||
if ( parent ) {
|
||||
parent.selectedIndex;
|
||||
|
||||
if ( parent && parent.parentNode ) {
|
||||
if ( parent.parentNode ) {
|
||||
parent.parentNode.selectedIndex;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user