From 1bbb678949da480dce0d9ed3d0fb273bccce9787 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20Go=C5=82e=CC=A8biowski?= Date: Wed, 5 Nov 2014 18:14:56 +0100 Subject: [PATCH] Manipulation: Check state lost if the name is set for Android 4.0-4.3 Refs gh-1820 Closes gh-1841 --- src/manipulation/support.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/manipulation/support.js b/src/manipulation/support.js index 92c92b5ff..98b752818 100644 --- a/src/manipulation/support.js +++ b/src/manipulation/support.js @@ -7,10 +7,13 @@ define([ div = fragment.appendChild( document.createElement( "div" ) ), input = document.createElement( "input" ); + // Support: Android 4.0-4.3 + // Check state lost if the name is set (#11217) // Support: Windows Web Apps (WWA) // `name` and `type` must use .setAttribute for WWA (#14901) input.setAttribute( "type", "radio" ); input.setAttribute( "checked", "checked" ); + input.setAttribute( "name", "t" ); div.appendChild( input ); -- 2.39.5