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:
yelly 2014-11-01 21:27:39 +02:00
parent 1039ef6eb5
commit 6ff8161699

View File

@ -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)