Merge pull request #347 from floreno/patch-3
min-height against height fix for ajax-changing-content
This commit is contained in:
2
templates/Sparkle/assets/js/main.js
vendored
2
templates/Sparkle/assets/js/main.js
vendored
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user