mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-16 08:05:57 +00:00
fix headlines height for Opera
This commit is contained in:
@@ -424,6 +424,15 @@ function init_second_stage() {
|
|||||||
|
|
||||||
if (navigator.userAgent.match("Opera")) {
|
if (navigator.userAgent.match("Opera")) {
|
||||||
resize_feeds_frame();
|
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) {
|
} catch (e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user