diff options
author | Timmy Willison <timmywillisn@gmail.com> | 2016-03-07 11:29:39 -0500 |
---|---|---|
committer | Timmy Willison <timmywillisn@gmail.com> | 2016-03-07 11:30:06 -0500 |
commit | b43a3685b60b307d61f41f0c94412380ed46ab22 (patch) | |
tree | 1eba096ebefaf4273bc96c4dd3783cedf6307e52 /src/attributes/prop.js | |
parent | 0402963845be8d71c4e8ddf65e7c055014739b60 (diff) | |
download | jquery-b43a3685b60b307d61f41f0c94412380ed46ab22.tar.gz jquery-b43a3685b60b307d61f41f0c94412380ed46ab22.zip |
Attributes: remove redundant parent check
Diffstat (limited to 'src/attributes/prop.js')
-rw-r--r-- | src/attributes/prop.js | 2 |
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; } } |