aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimmy Willison <timmywillisn@gmail.com>2016-03-07 11:29:39 -0500
committerTimmy Willison <timmywillisn@gmail.com>2016-03-07 11:29:39 -0500
commitb38bee5ba3c7f0c510a063a0a4002a5591b98bd9 (patch)
treee5bd905285c0b8ed3cac658db2cb150a3958936d
parent67d4aebda7da4eaeff8cd4c2c0a66718504f339e (diff)
downloadjquery-b38bee5ba3c7f0c510a063a0a4002a5591b98bd9.tar.gz
jquery-b38bee5ba3c7f0c510a063a0a4002a5591b98bd9.zip
Attributes: remove redundant parent check
-rw-r--r--src/attributes/prop.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/attributes/prop.js b/src/attributes/prop.js
index 15128b8ce..e127bb08f 100644
--- a/src/attributes/prop.js
+++ b/src/attributes/prop.js
@@ -99,7 +99,7 @@ if ( !support.optSelected ) {
if ( parent ) {
parent.selectedIndex;
- if ( parent && parent.parentNode ) {
+ if ( parent.parentNode ) {
parent.parentNode.selectedIndex;
}
}