resize frame sur mini menu (fixes #31608)

This commit is contained in:
afornerot 2021-02-01 11:32:27 +01:00
parent 5ef2a98b51
commit 2294b0ed68
2 changed files with 12 additions and 2 deletions

View File

@ -208,4 +208,10 @@
$(this).children(".item-preview").hide();
});
$(".navbar-toggle").mouseup(function() {
setTimeout(function() {
resizeFrame();
}, 50);
});
</script>

View File

@ -403,13 +403,17 @@
var iFrame = document.getElementById('frameContent');
var heightbody = $('html').height();
if($('.header').length)
var heightheader = $('.header').height();
else
var heightheader = $('.navbarsmall').height();
if($('#appmenu').css("display")=="none")
var heightmenu = 0;
else
var heightmenu = $('#appmenu').height();
var heightframe = heightbody-heightheader-heightmenu;
$(".pageframe").each(function( index ) {