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();
|
$(this).children(".item-preview").hide();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$(".navbar-toggle").mouseup(function() {
|
||||||
|
setTimeout(function() {
|
||||||
|
resizeFrame();
|
||||||
|
}, 50);
|
||||||
|
|
||||||
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -403,13 +403,17 @@
|
||||||
var iFrame = document.getElementById('frameContent');
|
var iFrame = document.getElementById('frameContent');
|
||||||
|
|
||||||
var heightbody = $('html').height();
|
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")
|
if($('#appmenu').css("display")=="none")
|
||||||
var heightmenu = 0;
|
var heightmenu = 0;
|
||||||
else
|
else
|
||||||
var heightmenu = $('#appmenu').height();
|
var heightmenu = $('#appmenu').height();
|
||||||
|
|
||||||
|
|
||||||
var heightframe = heightbody-heightheader-heightmenu;
|
var heightframe = heightbody-heightheader-heightmenu;
|
||||||
|
|
||||||
$(".pageframe").each(function( index ) {
|
$(".pageframe").each(function( index ) {
|
||||||
|
|
Loading…
Reference in New Issue