summaryrefslogtreecommitdiff
path: root/tt-rss.js
diff options
context:
space:
mode:
Diffstat (limited to 'tt-rss.js')
-rw-r--r--tt-rss.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/tt-rss.js b/tt-rss.js
index 758e3e895..4deac4456 100644
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -424,6 +424,15 @@ function init_second_stage() {
if (navigator.userAgent.match("Opera")) {
resize_feeds_frame();
+
+ // fix headlines frame height for Opera
+ var h = document.getElementById("headlines");
+ var c = document.getElementById("content");
+ var nh = document.body.scrollHeight * 0.25;
+
+ h.style.height = nh + "px";
+ c.style.height = c.scrollHeight - nh + "px";
+
}
} catch (e) {