Work around Chrome's buggy localeCompare function

This commit is contained in:
Simon Kornblith 2012-03-01 14:19:04 -05:00
parent 61c0f974c0
commit fc3b2c3538

View file

@ -79,7 +79,7 @@ Zotero_TranslatorTesters = new function() {
};
} else {
strcmp = function (a, b) {
return a.localeCompare(b);
return a.toLowerCase().localeCompare(b.toLowerCase());
};
}