Skip to content

Commit

Permalink
fix expiration date masking on people page. Issue #203
Browse files Browse the repository at this point in the history
  • Loading branch information
shua123 committed Sep 26, 2016
1 parent 1384987 commit b0264f7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/assets/javascripts/people.js
Original file line number Diff line number Diff line change
Expand Up @@ -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){
Expand Down Expand Up @@ -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 () {
Expand Down

0 comments on commit b0264f7

Please sign in to comment.