summaryrefslogtreecommitdiff
path: root/tt-rss.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2008-05-12 09:26:29 +0100
committerAndrew Dolgov <[email protected]>2008-05-12 09:26:29 +0100
commitff284aa0b824cd294f8806ce193b37b7e6009163 (patch)
tree12f4921cea24f28afdc49f58b098b7e4faceb633 /tt-rss.js
parenta9a3fcabcee5926ec6a95288bb057d450aef0f13 (diff)
compat theme: properly reflow container height
Diffstat (limited to 'tt-rss.js')
-rw-r--r--tt-rss.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/tt-rss.js b/tt-rss.js
index 11ce57b73..0e4c153c0 100644
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -359,9 +359,14 @@ function resize_headlines() {
var h_frame = document.getElementById("headlines-frame");
var c_frame = document.getElementById("content-frame");
var f_frame = document.getElementById("footer");
+ var feeds_frame = document.getElementById("feeds-holder");
if (!c_frame || !h_frame) return;
+ if (feeds_frame && getInitParam("theme") == "compat") {
+ feeds_frame.style.bottom = f_frame.offsetHeight + "px";
+ }
+
if (getInitParam("theme") == "3pane") {
debug("resize_headlines: HOR-mode");