Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion js/dom/add_categories.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const {
} = $;

const getAlgorithmDOM = (category, subList, algorithm) => {
return $('<button class="indent collapse">')
return $('<button class="indent">')
.append(subList[algorithm])
.attr('data-algorithm', algorithm)
.attr('data-category', category)
Expand Down
6 changes: 3 additions & 3 deletions js/dom/show_first_algorithm.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

// click the first algorithm in the first category
module.exports = () => {
$('#list button.category').first().click();
$('#list button.category + .indent').first().click();
};
$('#list .category').first().click();
$('#list .category + .algorithms > .indent').first().click();
};
8 changes: 4 additions & 4 deletions public/algorithm_visualizer.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/algorithm_visualizer.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/algorithm_visualizer.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/algorithm_visualizer.min.js.map

Large diffs are not rendered by default.