Use == for the 'desc' check in compareMultiple.

This commit is contained in:
John-David Dalton
2015-12-29 08:52:50 -06:00
parent 6798259b84
commit 56929e9725

View File

@@ -989,7 +989,7 @@
return result; return result;
} }
var order = orders[index]; var order = orders[index];
return result * (order === 'desc' ? -1 : 1); return result * (order == 'desc' ? -1 : 1);
} }
} }
// Fixes an `Array#sort` bug in the JS engine embedded in Adobe applications // Fixes an `Array#sort` bug in the JS engine embedded in Adobe applications