]> git.wh0rd.org - tt-rss.git/commitdiff
block resize_headlines() for MSIE
authorAndrew Dolgov <fox@bah.spb.su>
Sun, 29 Apr 2007 03:46:08 +0000 (04:46 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sun, 29 Apr 2007 03:46:08 +0000 (04:46 +0100)
tt-rss.js

index 91f0b3c30ac01b1d7b27640be12194f67c77bc67..89497e9906ba6b4aab09e1e50eb46090ad92fa89 100644 (file)
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -387,6 +387,9 @@ function init() {
 }
 
 function resize_headlines() {
+
+       if (is_msie()) return;
+
        var h_frame = document.getElementById("headlines-frame");
        var c_frame = document.getElementById("content-frame");
 
@@ -406,7 +409,7 @@ function init_second_stage() {
                cookie_lifetime = getCookie("ttrss_cltime");
 
                delCookie("ttrss_vf_test");
-       
+
                if (!is_msie()) {
                        document.onresize = resize_headlines;
                        resize_headlines();