mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
Remove breakpoints sort
Sorting the breakpoints yields bad results if not all sizes are of the same length. For instance, for the breakpoints [ '480px', '768px', '992px', '1200px', '1800px', '2200px' ], the first 3 sizes will be placed after the last 3, resulting in unexpected behaviour.
This commit is contained in:
parent
1039ef6eb5
commit
6ff8161699
@ -120,7 +120,6 @@ tsColSel = ts.columnSelector = {
|
||||
if (wo.columnSelector_mediaquery) {
|
||||
// used by window resize function
|
||||
colSel.lastIndex = -1;
|
||||
wo.columnSelector_breakpoints.sort();
|
||||
tsColSel.updateBreakpoints(c, wo);
|
||||
c.$table
|
||||
.off('updateAll' + namespace)
|
||||
|
Loading…
Reference in New Issue
Block a user