Skip to content
Snippets Groups Projects
Commit a965ab30 authored by Chris Lawton's avatar Chris Lawton
Browse files

updates filter button text on mobile

parent 9dbb86e0
No related branches found
No related tags found
No related merge requests found
......@@ -129,7 +129,12 @@
// reset mobile filters if they're open past the tablet breakpoint
$(window).resize(function resize() {
if ($(window).width() < 1024) {
// close the filters if open when reducing the window size
$('body').removeClass('filters-open');
// update filter button text
$('.js-toggle-filters').text('Filters');
$('.select2').on('click', (e) => {
mobileFilterPadding(e.target);
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment