From b0264f709d8231f717e62cd733d977d7b9cb0808 Mon Sep 17 00:00:00 2001 From: Josh Kalov Date: Mon, 26 Sep 2016 13:46:13 -0500 Subject: [PATCH] fix expiration date masking on people page. Issue #203 --- app/assets/javascripts/people.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/assets/javascripts/people.js b/app/assets/javascripts/people.js index b3614ed15..05eacbb77 100644 --- a/app/assets/javascripts/people.js +++ b/app/assets/javascripts/people.js @@ -3,7 +3,6 @@ $(document).on('ready page:load', function () { // initialize bloodhound engine var searchSelector = 'input#tag-typeahead'; - //filters out tags that are already in the list var filter = function(suggestions) { var current_tags = $('#tag-list li').map(function(index,el){ @@ -42,7 +41,7 @@ $(document).on('ready page:load', function () { $(searchSelector).typeahead('val',datum.name); $('#tag-typeahead').submit(); }); - $("#gift_card_expiration_date").mask("99/99",{placeholder:"MM/YY"}); + $("#new-expirationdate").mask("99/99",{placeholder:"MM/YY"}); $('#new-notes').hide(); $('#new-reason').change(function () {