提交 2cb932b0 编写于 作者: J Jason Park

change caret direction

上级 c12fcc21
...@@ -245,7 +245,7 @@ $.getJSON('./algorithm/category.json', function (data) { ...@@ -245,7 +245,7 @@ $.getJSON('./algorithm/category.json', function (data) {
.append(list[category].name); .append(list[category].name);
$category.click(function () { $category.click(function () {
$('[data-category="' + category + '"]').toggleClass('collapse'); $('[data-category="' + category + '"]').toggleClass('collapse');
$(this).find('i.fa').toggleClass('fa-caret-down fa-caret-up'); $(this).find('i.fa').toggleClass('fa-caret-down fa-caret-right');
}); });
$('#list').append($category); $('#list').append($category);
var subList = list[category].list; var subList = list[category].list;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册