resize frame sur mini menu (fixes #31608)
This commit is contained in:
parent
5ef2a98b51
commit
2294b0ed68
|
@ -208,4 +208,10 @@
|
|||
$(this).children(".item-preview").hide();
|
||||
});
|
||||
|
||||
$(".navbar-toggle").mouseup(function() {
|
||||
setTimeout(function() {
|
||||
resizeFrame();
|
||||
}, 50);
|
||||
|
||||
});
|
||||
</script>
|
||||
|
|
|
@ -403,13 +403,17 @@
|
|||
var iFrame = document.getElementById('frameContent');
|
||||
|
||||
var heightbody = $('html').height();
|
||||
var heightheader = $('.header').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 ) {
|
||||
|
|
Loading…
Reference in New Issue