diff --git a/js/drawer.js b/js/drawer.js index a3e17d31..b318dade 100644 --- a/js/drawer.js +++ b/js/drawer.js @@ -89,6 +89,9 @@ const Drawer = ($ => { return; } + + $(".bmd-layout-drawer").hide(); + this.$element.show(); this.$toggles.attr("aria-expanded", true); this.$element.attr("aria-expanded", true); this.$element.attr("aria-hidden", false); @@ -109,6 +112,9 @@ const Drawer = ($ => { return; } + + $(".bmd-layout-drawer").hide(); + this.$element.show(); this.$toggles.attr("aria-expanded", false); this.$element.attr("aria-expanded", false); this.$element.attr("aria-hidden", true);