mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2024-11-22 09:36:55 +03:00
dual-drawer fix issue #1308
This commit is contained in:
parent
0a0e78d563
commit
9c6d715d10
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user