SAAS-985 - Port sandwich menu to showbuilder branch
This commit is contained in:
parent
4200f56265
commit
57c1d74286
5 changed files with 72 additions and 19 deletions
|
@ -186,3 +186,11 @@ function getUsabilityHint() {
|
|||
}
|
||||
});
|
||||
}
|
||||
|
||||
$(document).mouseup(function (e) {
|
||||
var mb = $("#menu-btn"),
|
||||
w = $(window).width();
|
||||
if (!mb.is(e.target) && mb.has(e.target).length === 0 && w <= 970) {
|
||||
$('#nav .responsive-menu').slideUp();
|
||||
}
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue