Skip to content

Commit

Permalink
fix bug with id selectors
Browse files Browse the repository at this point in the history
  • Loading branch information
benthemonkey committed Nov 3, 2015
1 parent 6c96304 commit 4348505
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/points-center/table.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,12 @@ module.exports = {

$('#nameFilter').on('keyup', function() {
delay(function() {
table.column([0]).search($('#name-filter').val()).draw();
table.column([0]).search($('#nameFilter').val()).draw();
}, 500);
});

$('#genderFilter').on('change', function() {
var option = $('#gender-filter').val();
var option = $('#genderFilter').val();

table.column([1]).search(option).draw();
});
Expand Down

0 comments on commit 4348505

Please sign in to comment.