Skip to content

Commit

Permalink
trigger collapsed.lte event
Browse files Browse the repository at this point in the history
  • Loading branch information
DivadNojnarg committed Apr 30, 2020
1 parent 7d5569d commit 5a2b56d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions inst/bs4Dash-0.2.0/controlbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ $(function() {
var pinned = $(".control-sidebar").attr("data-pin");
if (pinned === "false" || pinned === undefined) {
$("body").removeClass("control-sidebar-slide-open");
// don't forget to refresh the input binding
$("#controlbar-toggle").trigger('collapsed.lte.controlsidebar');
}
}
});
Expand Down

0 comments on commit 5a2b56d

Please sign in to comment.