From b38bee5ba3c7f0c510a063a0a4002a5591b98bd9 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 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; } }