resize_headlines: add exception handling

master
Andrew Dolgov 17 years ago
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…
Cancel
Save