min-height against height fix for ajax-changing-content

This commit is contained in:
floreno
2016-04-11 06:55:48 +02:00
parent 252b42ee57
commit d474f2ec8f

View File

@@ -70,7 +70,7 @@ $(document).ready(function() {
var snheight = $('#sidenavigation').height();
var mainheight = $('#maincontent').height();
if (snheight > mainheight && !$('#newsfeed').length) {
$('#maincontent').height(snheight);
$('#maincontent').css("min-height", snheight);
}
// this is necessary for the special setting feature (ref #1010)
$.getQueryVariable = function(key) {
@@ -219,4 +219,4 @@ $(document).ready(function() {
});
autosize($('textarea.shell'));
});
});