Corrige le tri des articles dans K-Psul
This commit is contained in:
parent
df180d7446
commit
20880114aa
1 changed files with 1 additions and 1 deletions
|
@ -430,7 +430,7 @@ $(document).ready(function() {
|
||||||
var $after = articles_container.find('#data-category-'+article['category_id']);
|
var $after = articles_container.find('#data-category-'+article['category_id']);
|
||||||
articles_container
|
articles_container
|
||||||
.find('.article.data-category-'+article['category_id']).each(function() {
|
.find('.article.data-category-'+article['category_id']).each(function() {
|
||||||
if (article['name'].toLowerCase < $('.name', this).text().toLowerCase())
|
if (article['name'].toLowerCase() < $('.name', this).text().toLowerCase())
|
||||||
return false;
|
return false;
|
||||||
$after = $(this);
|
$after = $(this);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue