1
0
mirror of https://github.com/moparisthebest/kaiwa synced 2024-08-13 17:03:51 -04:00

Fix: MUCs sorting

This commit is contained in:
Sebastien Hut 2014-11-21 17:11:05 +01:00
parent 93cae83503
commit e38fdf8b9e
2 changed files with 1 additions and 2 deletions

View File

@ -10,7 +10,6 @@ module.exports = BaseCollection.extend({
type: 'mucs', type: 'mucs',
model: MUC, model: MUC,
comparator: function (model1, model2) { comparator: function (model1, model2) {
return 0;
var name1 = model1.displayName.toLowerCase(); var name1 = model1.displayName.toLowerCase();
var name2 = model2.displayName.toLowerCase(); var name2 = model2.displayName.toLowerCase();
if (name1 === name2) { if (name1 === name2) {