summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--functions.js4
-rw-r--r--tt-rss.js7
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");
}
diff --git a/tt-rss.js b/tt-rss.js
index 4b2f3eceb..2e884d587 100644
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -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"];