resize_headlines: add exception handling

This commit is contained in:
Andrew Dolgov 2008-05-20 11:41:00 +01:00
parent f74cfded6f
commit e8f7d7264c
1 changed files with 67 additions and 61 deletions

View File

@ -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() {