Commit addfe23d authored by Prakhar Agarwal's avatar Prakhar Agarwal 🎯
Browse files

show sidebar on help browser click

parent ae8d1ef0
......@@ -79,7 +79,7 @@
</div>
<a id="sidebar-collapse" class="m-2" data-toggle="collapse" data-target="#sidebar">
<i class="fa fa-angle-double-left rotate-transition" onclick="rotate(this)"></i>
<i class="fa fa-angle-double-left rotate-transition" id="sidebar-col-icon" onclick="rotate(this)"></i>
</a>
<!-- Canvas/Pd Windows -->
......
......@@ -97,6 +97,14 @@ function load_menu_actions(){
}
});
minit("help-browser", {onclick:
function(){
// show sidebar
$("#sidebar").collapse("show");
$("#sidebar-col-icon").removeClass("rotate");
}
});
minit("help-intro", {onclick:
function(){
pdbundle.pdgui.web_external_doc_open("http://puredata.info/docs/manuals/pdrefcards/pd-refcard-en.pdf/view")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment