From 9b0cc705428e53c3f4bef943824331de11d463e0 Mon Sep 17 00:00:00 2001 From: "Roman Schmerold (BNoiZe)" Date: Sun, 1 Jun 2014 22:02:48 +0200 Subject: [PATCH] Fix height of #maincontent if newsfeed is shown Signed-off-by: Roman Schmerold (BNoiZe) --- templates/Sparkle/assets/js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/Sparkle/assets/js/main.js b/templates/Sparkle/assets/js/main.js index d74d605f..94d3cca4 100644 --- a/templates/Sparkle/assets/js/main.js +++ b/templates/Sparkle/assets/js/main.js @@ -53,7 +53,7 @@ $(document).ready(function() { // Height of divs fix var snheight = $('#sidenavigation').height(); var mainheight = $('#maincontent').height(); - if (snheight > mainheight) { + if (snheight > mainheight && !$('#newsfeed').length) { $('#maincontent').height(snheight); }