From b43a3685b60b307d61f41f0c94412380ed46ab22 Mon Sep 17 00:00:00 2001 From: Timmy Willison Date: Mon, 7 Mar 2016 11:29:39 -0500 Subject: [PATCH] Attributes: remove redundant parent check --- src/attributes/prop.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- 2.39.5