list.js icon indicating copy to clipboard operation
list.js copied to clipboard

toggleClass('active') is not working

Open k-graefenhain opened this issue 2 years ago • 0 comments

I want to use jQuery to style the sort items. However toggleClass('active') is not working. Here's my code: jQuery(document).on('click', '.table-sort-arrow', function(evt) { var dataSort = jQuery(this).data('data-sort'); jQuery(this).toggleClass('active'); jQuery(this).addClass('active'); )};

If I change 'active' to 'aktive' everything's fine. Did you supress toggling active? Couldn't find anything in the documentation.

k-graefenhain avatar Mar 09 '23 09:03 k-graefenhain