🌐 AI搜索 & 代理 主页
Skip to content

Commit b38bee5

Browse files
committed
Attributes: remove redundant parent check
1 parent 67d4aeb commit b38bee5

File tree

1 file changed

+1
-1
lines changed

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
@@ -99,7 +99,7 @@ if ( !support.optSelected ) {
9999
if ( parent ) {
100100
parent.selectedIndex;
101101

102-
if ( parent && parent.parentNode ) {
102+
if ( parent.parentNode ) {
103103
parent.parentNode.selectedIndex;
104104
}
105105
}

0 commit comments

Comments
 (0)