aboutsummaryrefslogtreecommitdiffstats
path: root/static
diff options
context:
space:
mode:
authorGuillaume Horel <guillaume.horel@gmail.com>2015-03-21 23:26:44 -0400
committerGuillaume Horel <guillaume.horel@gmail.com>2015-03-21 23:26:44 -0400
commit508e68ccfccc606b0ea3f4f68e03cbc2377e9443 (patch)
treea2ea3e4c7322d4f6efd502e9817ee8b03b882460 /static
parente9c28b973b450e88d1536ab0886d2a52fdc6e6a1 (diff)
downloadwedding-website-508e68ccfccc606b0ea3f4f68e03cbc2377e9443.tar.gz
form's logic almost working
Diffstat (limited to 'static')
-rw-r--r--static/wedding.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/wedding.js b/static/wedding.js
index 015bc83..492c346 100644
--- a/static/wedding.js
+++ b/static/wedding.js
@@ -24,7 +24,7 @@ $("input:radio[name=language]").change(function(){
$("button[name=login]").text("Login");
}
});
-$("input:radio[name=answer]").change(function(){
+$("input:radio[name=rsvp]").change(function(){
var state = $(this).val()=="0";
["email", "mailing", "plusoneyes", "plusoneno", "kidsyes","kidsno"].
forEach(function(id){