js/category.js in tdiary-5.1.0 vs js/category.js in tdiary-5.1.1
- old
+ new
@@ -24,6 +24,10 @@
$('#category-candidate').change(function(){
$('option:selected', this).each(function(){
insertCategoryItem($(this));
});
});
+
+ // reverse list of category
+ var list = $('ul.category li').toArray().reverse();
+ $('ul.category').empty().append(list);
});