diff --git a/app/assets/javascripts/closet_hangers/index.js b/app/assets/javascripts/closet_hangers/index.js index b7087c82..85f026f7 100644 --- a/app/assets/javascripts/closet_hangers/index.js +++ b/app/assets/javascripts/closet_hangers/index.js @@ -455,24 +455,15 @@ */ var contactEl = $('#closet-hangers-contact'); - var editContactLink = $('.edit-contact-link'); var contactForm = contactEl.children('form'); - var cancelContactLink = $('#cancel-contact-link'); - var contactFormUsername = contactForm.children('input[type=text]'); - var editContactLinkUsername = $('#contact-link-has-value span'); + var contactField = contactForm.children('select'); - function closeContactForm() { - contactEl.removeClass('editing'); - } + var contactAddOption = $('