app/assets/javascripts/effective_datatables/responsive.js.coffee in effective_datatables-2.4.3 vs app/assets/javascripts/effective_datatables/responsive.js.coffee in effective_datatables-2.4.4
- old
+ new
@@ -1,4 +1,7 @@
$(document).on 'shown.bs.tab', "a[data-toggle='tab']", (event) ->
$($(event.target).attr('href')).find('table.dataTable').each ->
$(this).DataTable().columns.adjust().responsive.recalc()
+$(document).on 'shown.bs.collapse', (event) ->
+ $(event.target).find('table.dataTable').each ->
+ $(this).DataTable().columns.adjust().responsive.recalc()