Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Gerwitz <mike.gerwitz@rtspecialty.com>2018-02-07 12:02:28 -0500
committerMike Gerwitz <mike.gerwitz@rtspecialty.com>2018-02-07 12:02:28 -0500
commit9d0cd5a3f3530612c7b774d94235c4074ce70135 (patch)
tree5e85b0ef708a87aecfd10de9384ead7f204b2a90
parent1325dc9a8696684c4dc26dd74febe82f97fc14b4 (diff)
downloadliza-9d0cd5a3f3530612c7b774d94235c4074ce70135.tar.gz
liza-9d0cd5a3f3530612c7b774d94235c4074ce70135.tar.bz2
liza-9d0cd5a3f3530612c7b774d94235c4074ce70135.zip
ElementStyler: Fix rendering of noyes, radio, legacyradiov3.4.3
* src/ui/ElementStyler.js (setValueByName): Correctly operate on DOM element rather than jQuery object.
-rw-r--r--src/ui/ElementStyler.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/ElementStyler.js b/src/ui/ElementStyler.js
index 6d34d35..85c00af 100644
--- a/src/ui/ElementStyler.js
+++ b/src/ui/ElementStyler.js
@@ -492,7 +492,7 @@ module.exports = Class( 'ElementStyler',
var i = elements.length;
while ( i-- )
{
- const question = elements[ i ];
+ const question = elements[ i ][ 0 ];
question.checked = ( question.value === ''+value );
}