From 8f87365711aec374f13c628557bce5c9d9b82108 Mon Sep 17 00:00:00 2001 From: charles Date: Sun, 12 Jan 2020 11:54:25 -0500 Subject: [PATCH] fixup! dual-drawer fix/ issue #1308 --- js/drawer.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/js/drawer.js b/js/drawer.js index b318dade..05c9f512 100644 --- a/js/drawer.js +++ b/js/drawer.js @@ -90,8 +90,8 @@ const Drawer = ($ => { } - $(".bmd-layout-drawer").hide(); - this.$element.show(); + $(".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); @@ -112,9 +112,6 @@ 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);