提交 68b151db 编写于 作者: N Nemanja Stojanovic

Merge pull request #147 from nem035/side-menu-bug-fix

Side menu bug fix
......@@ -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)
......
......@@ -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();
};
\ No newline at end of file
$('#list .category').first().click();
$('#list .category + .algorithms > .indent').first().click();
};
此差异已折叠。
此差异已折叠。
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册