Skip to content

Commit

Permalink
Merge pull request #347 from floreno/patch-3
Browse files Browse the repository at this point in the history
min-height against height fix for ajax-changing-content
  • Loading branch information
d00p committed Apr 12, 2016
2 parents a014b5c + d474f2e commit e8f5fc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/Sparkle/assets/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -219,4 +219,4 @@ $(document).ready(function() {
});

autosize($('textarea.shell'));
});
});

0 comments on commit e8f5fc1

Please sign in to comment.