Start a new discussion

To start a new discussion please visit the discussions section of the GitHub home page of the project.

Discussions on GitHub

You can also search our old self-hosted forums for any useful information below but please note that posting new content here is not possible any more.

Reply To: hamburger menu not being removed

Home Forums Older releases 1.0.x hamburger menu not being removed Reply To: hamburger menu not being removed

#3229
admin
Keymaster

This is caused by the following customization you are using:

// SmartMenus mod - hide the menus on document click just in collapsible mode
$.SmartMenus.prototype._docClick = $.SmartMenus.prototype.docClick;
$.SmartMenus.prototype._docTouchEnd = $.SmartMenus.prototype.docTouchEnd;
$.SmartMenus.prototype.docClick = function (e) {
    if (this.isCollapsible()) {
        this._docClick(e);
    }
}
$.SmartMenus.prototype.docTouchEnd = function (e) {
    if (this.isCollapsible()) {
        this._docTouchEnd(e);
    }
}

If you remove it, the sub menus should be hidden on tap on iPad.