diff --git a/tt-rss.js b/tt-rss.js
index b72e97346..758e3e895 100644
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -394,6 +394,15 @@ function init() {
}
}
+function resize_feeds_frame() {
+ var f = document.getElementById("feeds-frame");
+ var tf = document.getElementById("mainFooter");
+ var th = document.getElementById("mainHeader");
+
+ f.style.height = document.body.scrollHeight - tf.scrollHeight -
+ th.scrollHeight - 50 + "px";
+}
+
function init_second_stage() {
try {
@@ -411,9 +420,10 @@ function init_second_stage() {
daemon_enabled = getCookie("ttrss_vf_daemon");
+ // FIXME should be callled after window resize
+
if (navigator.userAgent.match("Opera")) {
- var f = document.getElementById("feeds-frame");
- f.style.height = document.body.scrollHeight - 200 + "px";
+ resize_feeds_frame();
}
} catch (e) {
diff --git a/tt-rss.php b/tt-rss.php
index 89982ca14..03bbc0f61 100644
--- a/tt-rss.php
+++ b/tt-rss.php
@@ -68,7 +68,7 @@ window.onload = init;
if (get_pref($link, 'DISPLAY_HEADER')) { ?>
-
} else { ?>
-
+ |
|
@@ -273,7 +273,7 @@ window.onload = init;
} ?>
if (get_pref($link, 'DISPLAY_FOOTER')) { ?>
|
-
Tiny-Tiny RSS v= VERSION ?> © 2005 Andrew Dolgov
if (WEB_DEMO_MODE) { ?>
Running in demo mode, some functionality is disabled.
|
|