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

sidebar shows when open clicked

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 -->
......
......@@ -13,6 +13,13 @@ function load_menu_actions(){
// File sub-entries
minit("file-message",{onclick: function(){pdbundle.pdgui.menu_send()}});
minit("file-open",{onclick: function(){
// show sidebar
$("#sidebar").collapse("show");
console.log("clicked");
$("#sidebar-col-icon").removeClass("rotate");
}});
// Edit entries
minit("edit-copy", {
onclick: function() {
......
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