diff --git a/public/assets/js/public.js b/public/assets/js/public.js index 9f9d551..250bcc3 100755 --- a/public/assets/js/public.js +++ b/public/assets/js/public.js @@ -69,6 +69,8 @@ // Set up the click event for filtering $('#filters').on('click', 'a', function ( event ) { event.preventDefault(); + $('#filters a.filteractive').removeClass('filteractive'); + $(this).addClass('filteractive'); var selector = $(this).attr('data-filter'), niceSelector = selector.substr(1);