mirror of
https://github.com/nat3yice/savethedate.git
synced 2026-03-10 08:51:18 +00:00
Allow for people to change accomodation
This commit is contained in:
12
rsvp.html
12
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(){
|
||||
|
||||
Reference in New Issue
Block a user