resize_headlines: add exception handling
This commit is contained in:
parent
f74cfded6f
commit
e8f7d7264c
|
@ -361,6 +361,8 @@ function init() {
|
|||
|
||||
function resize_headlines(delta_x, delta_y) {
|
||||
|
||||
try {
|
||||
|
||||
debug("resize_headlines: " + delta_x + ":" + delta_y);
|
||||
|
||||
var h_frame = document.getElementById("headlines-frame");
|
||||
|
@ -428,6 +430,10 @@ function resize_headlines(delta_x, delta_y) {
|
|||
setCookie("ttrss_offset_hor", hor_offset);
|
||||
}
|
||||
|
||||
} catch (e) {
|
||||
exception_error("resize_headlines", e);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function init_second_stage() {
|
||||
|
|
Loading…
Reference in New Issue