mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-18 00:51:29 +00:00
resize_headlines: add exception handling
This commit is contained in:
@@ -361,6 +361,8 @@ function init() {
|
|||||||
|
|
||||||
function resize_headlines(delta_x, delta_y) {
|
function resize_headlines(delta_x, delta_y) {
|
||||||
|
|
||||||
|
try {
|
||||||
|
|
||||||
debug("resize_headlines: " + delta_x + ":" + delta_y);
|
debug("resize_headlines: " + delta_x + ":" + delta_y);
|
||||||
|
|
||||||
var h_frame = document.getElementById("headlines-frame");
|
var h_frame = document.getElementById("headlines-frame");
|
||||||
@@ -428,6 +430,10 @@ function resize_headlines(delta_x, delta_y) {
|
|||||||
setCookie("ttrss_offset_hor", hor_offset);
|
setCookie("ttrss_offset_hor", hor_offset);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
} catch (e) {
|
||||||
|
exception_error("resize_headlines", e);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function init_second_stage() {
|
function init_second_stage() {
|
||||||
|
|||||||
Reference in New Issue
Block a user