diff --git a/inst/bs4Dash-0.2.0/controlbar.js b/inst/bs4Dash-0.2.0/controlbar.js index 0e32623a..45b4d506 100644 --- a/inst/bs4Dash-0.2.0/controlbar.js +++ b/inst/bs4Dash-0.2.0/controlbar.js @@ -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'); } } });