app/assets/javascripts/effective_datatables/reset.js.coffee in effective_datatables-3.6.3 vs app/assets/javascripts/effective_datatables/reset.js.coffee in effective_datatables-3.7.0
- old
+ new
@@ -1,5 +1,5 @@
-$(document).on 'click', 'a.buttons-reset-search', (event) ->
+$(document).on 'click', '.dataTables_wrapper a.buttons-reset-search', (event) ->
event.preventDefault() # prevent the click
$table = $(event.currentTarget).closest('.dataTables_wrapper').find('table.dataTable').first()
$thead = $table.children('thead').first()