mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-16 01:15:56 +00:00
resize_headlines: add workaround for an Opera bug
This commit is contained in:
@@ -369,6 +369,10 @@ function resize_headlines(delta_x, delta_y) {
|
|||||||
c_frame.style.top = (h_frame.offsetTop + h_frame.offsetHeight + 0) + "px";
|
c_frame.style.top = (h_frame.offsetTop + h_frame.offsetHeight + 0) + "px";
|
||||||
h_frame.style.height = h_frame.offsetHeight + "px";
|
h_frame.style.height = h_frame.offsetHeight + "px";
|
||||||
|
|
||||||
|
// Workaround for Opera: force the content page to be re-rendered,
|
||||||
|
// so it is not truncated:
|
||||||
|
var content_pane = $("content-insert");
|
||||||
|
content_pane.innerHTML = content_pane.innerHTML;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (getInitParam("cookie_lifetime") != 0) {
|
if (getInitParam("cookie_lifetime") != 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user