diff options
-rw-r--r-- | functions.js | 4 | ||||
-rw-r--r-- | tt-rss.js | 7 |
2 files changed, 8 insertions, 3 deletions
diff --git a/functions.js b/functions.js index 608284dc4..e7e211edd 100644 --- a/functions.js +++ b/functions.js @@ -7,6 +7,10 @@ function browser_has_opacity() { navigator.userAgent.match("Opera") != null; } +function is_msie() { + return navigator.userAgent.match("MSIE"); +} + function is_opera() { return navigator.userAgent.match("Opera"); } @@ -397,9 +397,10 @@ function init_second_stage() { delCookie("ttrss_vf_test"); - document.onresize = resize_headlines; - - resize_headlines(); + if (!is_msie()) { + document.onresize = resize_headlines; + resize_headlines(); + } var toolbar = document.forms["main_toolbar_form"]; |