aboutsummaryrefslogtreecommitdiffstats
path: root/src/attributes/prop.js
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:30:06 -0500
commitb43a3685b60b307d61f41f0c94412380ed46ab22 (patch)
tree1eba096ebefaf4273bc96c4dd3783cedf6307e52 /src/attributes/prop.js
parent0402963845be8d71c4e8ddf65e7c055014739b60 (diff)
downloadjquery-b43a3685b60b307d61f41f0c94412380ed46ab22.tar.gz
jquery-b43a3685b60b307d61f41f0c94412380ed46ab22.zip
Attributes: remove redundant parent check
Diffstat (limited to 'src/attributes/prop.js')
-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 237e4130f..af3be36d0 100644
--- a/src/attributes/prop.js
+++ b/src/attributes/prop.js
@@ -100,7 +100,7 @@ if ( !support.optSelected ) {
if ( parent ) {
parent.selectedIndex;
- if ( parent && parent.parentNode ) {
+ if ( parent.parentNode ) {
parent.parentNode.selectedIndex;
}
}