File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1+ # 2.3.2+dev
2+
3+ - We have made sure that the ordering icons on empty headers do not reappear when ordering a column
4+
15# 2.3.2 (2025-05-17)
26
37- We have fixed an issue with ` selected_rows ` when ` filtered_row_count ` was not explicitly set.
Original file line number Diff line number Diff line change @@ -126,10 +126,7 @@ class ITable {
126126 else if ( jQuery ( this ) . find ( 'span.dt-column-title' ) . text ( ) === '' && jQuery ( this ) . find ( 'span.dt-column-title' ) . children ( ) . length === 0 ) {
127127 // Remove the sorting icon on empty headers
128128 jQuery ( this ) . attr ( 'data-dt-order' , 'disable' ) ;
129- // Remove any children with the 'dt-column-order' class
130- jQuery ( this ) . children ( '.dt-column-order' ) . remove ( ) ;
131- // Remove the dt-orderable-asc and dt-orderable-desc classes
132- jQuery ( this ) . removeClass ( 'dt-orderable-asc dt-orderable-desc' ) ;
129+ jQuery ( this ) . empty ( ) ;
133130 }
134131 else {
135132 // Apply the icon-only data-dt-order attribute
You can’t perform that action at this time.
0 commit comments