mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Attributes: remove redundant parent check
This commit is contained in:
@@ -100,7 +100,7 @@ if ( !support.optSelected ) {
|
||||
if ( parent ) {
|
||||
parent.selectedIndex;
|
||||
|
||||
if ( parent && parent.parentNode ) {
|
||||
if ( parent.parentNode ) {
|
||||
parent.parentNode.selectedIndex;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user