Merge pull request #347 from floreno/patch-3

min-height against height fix for ajax-changing-content
This commit is contained in:
Michael Kaufmann
2016-04-12 07:36:37 +02:00

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'));
});
});