From 3590a3100ca034abf8bcb69557ada0f5ef694072 Mon Sep 17 00:00:00 2001 From: Julien Lengrand-Lambert Date: Sun, 4 Mar 2018 18:55:39 +0100 Subject: [PATCH] Allow for people to change accomodation --- rsvp.html | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/rsvp.html b/rsvp.html index 9be2752..25c2f4f 100644 --- a/rsvp.html +++ b/rsvp.html @@ -107,26 +107,30 @@ function iWantHotel(){ accommodation = "hotel"; console.log("Hotel it is!"); - changeAccomodations(true); + // changeAccomodations(true); document.getElementById("sharingroomwith").disabled = false; } function iWantVenue(){ accommodation = "venue"; console.log("venue it is!"); - changeAccomodations(true); + // changeAccomodations(true); + document.getElementById("sharingroomwith").disabled = true; + } function iWantNothing(){ accommodation = "nothing"; console.log("nothing it is!"); - changeAccomodations(true); + // changeAccomodations(true); + document.getElementById("sharingroomwith").disabled = true; } function iWantCamping() { accommodation = "camping"; console.log("Camping it is!"); - changeAccomodations(true); + // changeAccomodations(true); + document.getElementById("sharingroomwith").disabled = true; } function sorryMessage(){