From: Andrew Dolgov Date: Fri, 24 Feb 2006 11:01:50 +0000 (+0100) Subject: fix feeds frame size for Opera X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=5f136c9acc41d505d06bee8f45b3c4425085eb8f;p=tt-rss.git fix feeds frame size for Opera --- diff --git a/tt-rss.js b/tt-rss.js index 7b96bf38..b72e9734 100644 --- 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);