提交 6943891b 编写于 作者: J Jason Park

fix that powered by category was not opened

上级 bad4cb94
...@@ -45,7 +45,7 @@ button { ...@@ -45,7 +45,7 @@ button {
} }
button:hover { button:hover {
background: rgba(0, 0, 0, .15); background: rgba(0, 0, 0, .15) !important;
} }
button.active { button.active {
......
...@@ -40,7 +40,8 @@ ...@@ -40,7 +40,8 @@
<a href="https://github.com/parkjs814/AlgorithmVisualizer/wiki"> <a href="https://github.com/parkjs814/AlgorithmVisualizer/wiki">
<button><i class="fa fa-book"></i> Documentation</button> <button><i class="fa fa-book"></i> Documentation</button>
</a> </a>
<button class="category"><i class="fa fa-github"></i> Powered by ...</button> <button class="category" id="powered-by"><i class="fa fa-github"></i> Powered by ...</button>
<div id="powered-by-list">
<a href="https://github.com/jquery/jquery"> <a href="https://github.com/jquery/jquery">
<button class="indent">jquery/jquery</button> <button class="indent">jquery/jquery</button>
</a> </a>
...@@ -56,7 +57,7 @@ ...@@ -56,7 +57,7 @@
<a href="https://github.com/simonwhitaker/github-fork-ribbon-css"> <a href="https://github.com/simonwhitaker/github-fork-ribbon-css">
<button class="indent">simonwhitaker/github-fork-ribbon-css</button> <button class="indent">simonwhitaker/github-fork-ribbon-css</button>
</a> </a>
</div>
</div> </div>
<a class="github-fork-ribbon left-bottom" href="http://github.com/parkjs814/AlgorithmVisualizer" <a class="github-fork-ribbon left-bottom" href="http://github.com/parkjs814/AlgorithmVisualizer"
title="Fork me on GitHub">Fork me on GitHub</a> title="Fork me on GitHub">Fork me on GitHub</a>
......
...@@ -178,6 +178,9 @@ $.getJSON('./algorithm/category.json', function (data) { ...@@ -178,6 +178,9 @@ $.getJSON('./algorithm/category.json', function (data) {
})(category); })(category);
} }
}); });
$('#powered-by').click(function () {
$('#powered-by-list button').toggleClass('collapse');
});
var sidemenu_percent; var sidemenu_percent;
$('#navigation').click(function () { $('#navigation').click(function () {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册