diff --git a/res/js/yohood.js b/res/js/yohood.js index 52f14ed..a5e7f95 100644 --- a/res/js/yohood.js +++ b/res/js/yohood.js @@ -506,8 +506,10 @@ define('yohood', function(require, exports) { return brands; } + sortBase = sortBase.toLowerCase(); + for (i = 0, len = brands.length; i < len; i++) { - brandName = brands[i].name; + brandName = brands[i].name.toLowerCase(); if (brandName.indexOf(sortBase) === 0) { brands = brands.splice(i, 1).concat(brands); }