diff --git a/dt-assets/js/modular-list.js b/dt-assets/js/modular-list.js index b8e4e92319..e7961fd3d3 100644 --- a/dt-assets/js/modular-list.js +++ b/dt-assets/js/modular-list.js @@ -3120,10 +3120,10 @@ } /** - * Split By Feature + * Split By Feature — delegate so clicks work after setup_filters() replaces + * #list-filter-tabs HTML (e.g. when get_filter_counts refreshes filter payload). */ - - $('#split_by_current_filter_button').on('click', function () { + $(document).on('click', '#split_by_current_filter_button', function () { refresh_split_by_view(); });