Skip to content

Commit 36e74ba

Browse files
committed
Merge pull request algorithm-visualizer#69 from TornjV/fix/caret
Change caret direction
2 parents 99719a7 + 4fd6f0c commit 36e74ba

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

js/script.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,11 +241,11 @@ $.getJSON('./algorithm/category.json', function (data) {
241241
for (var category in list) {
242242
(function (category) {
243243
var $category = $('<button class="category">')
244-
.append('<i class="fa fa-fw fa-caret-down">')
244+
.append('<i class="fa fa-fw fa-caret-right">')
245245
.append(list[category].name);
246246
$category.click(function () {
247247
$('[data-category="' + category + '"]').toggleClass('collapse');
248-
$(this).find('i.fa').toggleClass('fa-caret-down fa-caret-right');
248+
$(this).find('i.fa').toggleClass('fa-caret-right fa-caret-down');
249249
});
250250
$('#list').append($category);
251251
var subList = list[category].list;

0 commit comments

Comments
 (0)