Skip to content

Commit 6c4366e

Browse files
committed
fixed a bug where first algorithm was not being shown
1 parent 0209880 commit 6c4366e

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

js/dom/show_first_algorithm.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
// click the first algorithm in the first category
44
module.exports = () => {
5-
$('#list button.category').first().click();
6-
$('#list button.category + .indent').first().click();
7-
};
5+
$('#list .category').first().click();
6+
$('#list .category + .algorithms > .indent').first().click();
7+
};

public/algorithm_visualizer.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/algorithm_visualizer.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/algorithm_visualizer.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/algorithm_visualizer.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)