1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-15 06:25:58 +00:00

fix headlines height for Opera

This commit is contained in:
Andrew Dolgov
2006-02-25 06:07:51 +01:00
parent 69654950d6
commit 4cb6f375d7

View File

@@ -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) {