From 976dede3eb62a6a7ac9800dd619be3dd191d833b Mon Sep 17 00:00:00 2001 From: Eric Schultz Date: Wed, 10 Oct 2018 13:54:28 -0500 Subject: [PATCH] Dedications default to 'in honor of' --- client/js/nonprofits/donate/dedication-form.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/js/nonprofits/donate/dedication-form.js b/client/js/nonprofits/donate/dedication-form.js index a7ed6bf7..9771b513 100644 --- a/client/js/nonprofits/donate/dedication-form.js +++ b/client/js/nonprofits/donate/dedication-form.js @@ -21,7 +21,7 @@ function view(state) { , type: 'radio' , id: radioId1 , value: 'honor' - , selected: !data.dedication_type || data.dedication_type === 'honor' + , checked: !data.dedication_type || data.dedication_type === 'honor' }}) , h('label', {props: {htmlFor: radioId1}}, I18n.t('nonprofits.donate.dedication.in_honor_label')) ]) @@ -31,7 +31,7 @@ function view(state) { , type: 'radio' , value: 'memory' , id: radioId2 - , selected: data.dedication_type === 'memory' + , checked: data.dedication_type === 'memory' }}) , h('label', {props: {htmlFor: radioId2}}, I18n.t('nonprofits.donate.dedication.in_memory_label')) ])