assets/themes/j1/modules/bmd/js/bootstrap-material-design.js in j1-template-2021.2.10 vs assets/themes/j1/modules/bmd/js/bootstrap-material-design.js in j1-template-2021.2.11
- old
+ new
@@ -6117,10 +6117,10 @@
// i.e. <button class="btn bmd-btn-icon" for="search" data-toggle="drawer" data-target="#my-side-nav-drawer" aria-expanded="false" aria-controls="my-side-nav-drawer">
function Drawer($element, config) {
var _this;
_this = _BaseLayout.call(this, $element, $.extend(true, {}, Default, config)) || this;
- _this.$toggles = $("[data-toggle=\"drawer\"][href=\"#" + _this.$element[0].id + "\"], [data-toggle=\"drawer\"][data-target=\"#" + _this.$element[0].id + "\"]");
+ _this.$toggles = $("[data-toggle=\"drawer\"][href=\"#void" + _this.$element[0].id + "\"], [data-toggle=\"drawer\"][data-target=\"#void" + _this.$element[0].id + "\"]");
_this._addAria(); // click or escape on the backdrop closes the drawer
_this.$backdrop.keydown(function (ev) {