     }
     filterCheckboxes(this, criteria)
 
-  $('#js-events-past-checkbox').click ->
+  $('#js-events-past-checkbox').change ->
     $("#js-events-current-checkbox").prop('checked', false)
     criteria = {
       type: "past",


jQuery ->
  $("#event_title").focus();
  table = $('#events').dataTable
    "dom": '<"eventToolbar dataTables_filter">frtip',
    order: [[3, 'asc']],
    columnDefs: [

    }
    filterCheckboxes(this, criteria)

  $('#js-events-template-checkbox').change ->
    criteria = {
      type: "template",
    }
    filterCheckboxes(this, criteria)

