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
|
@ -480,6 +480,13 @@ function setCurrentUserPseudoPassword() {
|
|||
$('#cu_passwordVerify').val("xxxxxx");
|
||||
}
|
||||
|
||||
$(window).resize(function() {
|
||||
/* If we don't do this, the menu can stay hidden after resizing */
|
||||
if ($(this).width() > 970) {
|
||||
$("#nav .responsive-menu").show();
|
||||
}
|
||||
});
|
||||
|
||||
$(document).ready(function() {
|
||||
if ($('#master-panel').length > 0)
|
||||
init();
|
||||
|
@ -502,4 +509,7 @@ $(document).ready(function() {
|
|||
// text. This differs depending on the language setting
|
||||
$('#popup-link').css('width', $('.jp-container h1').css('width'));
|
||||
|
||||
$('#menu-btn').click(function() {
|
||||
$('#nav .responsive-menu').slideToggle();
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue