block resize_headlines in MSIE: broken
This commit is contained in:
parent
a3df793b88
commit
e12a547eb9
|
@ -7,6 +7,10 @@ function browser_has_opacity() {
|
||||||
navigator.userAgent.match("Opera") != null;
|
navigator.userAgent.match("Opera") != null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function is_msie() {
|
||||||
|
return navigator.userAgent.match("MSIE");
|
||||||
|
}
|
||||||
|
|
||||||
function is_opera() {
|
function is_opera() {
|
||||||
return navigator.userAgent.match("Opera");
|
return navigator.userAgent.match("Opera");
|
||||||
}
|
}
|
||||||
|
|
|
@ -397,9 +397,10 @@ function init_second_stage() {
|
||||||
|
|
||||||
delCookie("ttrss_vf_test");
|
delCookie("ttrss_vf_test");
|
||||||
|
|
||||||
|
if (!is_msie()) {
|
||||||
document.onresize = resize_headlines;
|
document.onresize = resize_headlines;
|
||||||
|
|
||||||
resize_headlines();
|
resize_headlines();
|
||||||
|
}
|
||||||
|
|
||||||
var toolbar = document.forms["main_toolbar_form"];
|
var toolbar = document.forms["main_toolbar_form"];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue