mirror of
https://github.com/jquery/jquery.git
synced 2024-12-09 08:04:24 +00:00
Attributes: remove redundant parent check
This commit is contained in:
parent
67d4aebda7
commit
b38bee5ba3
@ -99,7 +99,7 @@ if ( !support.optSelected ) {
|
|||||||
if ( parent ) {
|
if ( parent ) {
|
||||||
parent.selectedIndex;
|
parent.selectedIndex;
|
||||||
|
|
||||||
if ( parent && parent.parentNode ) {
|
if ( parent.parentNode ) {
|
||||||
parent.parentNode.selectedIndex;
|
parent.parentNode.selectedIndex;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user