]> git.wh0rd.org Git - tt-rss.git/commitdiff
fix feeds frame size for Opera
authorAndrew Dolgov <fox@bah.spb.su>
Fri, 24 Feb 2006 11:01:50 +0000 (12:01 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Fri, 24 Feb 2006 11:01:50 +0000 (12:01 +0100)
tt-rss.js

index 7b96bf3854c5962227a5a8fae74a9beb6a268f2e..b72e9734622f6bc3cb3e435c92976752f7cd6785 100644 (file)
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -410,6 +410,11 @@ function init_second_stage() {
                dropboxSelect(limitbox, getCookie("ttrss_vf_limit"));
 
                daemon_enabled = getCookie("ttrss_vf_daemon");
+
+               if (navigator.userAgent.match("Opera")) {
+                       var f = document.getElementById("feeds-frame");
+                       f.style.height = document.body.scrollHeight - 200 + "px";
+               }
        
        } catch (e) {
                exception_error("init_second_stage", e);