}
- if (mouse_is_down && enable_resize) {
+ if (mouse_is_down) {
if (mouse_y == 0) mouse_y = client_y;
if (mouse_x == 0) mouse_x = client_x;
function mouse_down_handler(e) {
try {
- mouse_is_down = true;
+ if (enable_resize) mouse_is_down = true;
} catch (e) {
exception_error("mouse_move_handler", e);
}
var daemon_refresh_only = false;
//var _qfd_deleted_feed = 0;
var firsttime_update = true;
-var cookie_lifetime = 0;
var active_feed_id = 0;
var active_feed_is_cat = false;
var number_of_feeds = 0;
ver_reflow_delta = delta_y;
+ if (getInitParam("cookie_lifetime") != 0) {
+ setCookie("ttrss_reflow_ver", ver_reflow_delta,
+ getInitParam("cookie_lifetime"));
+ } else {
+ setCookie("ttrss_reflow_ver", ver_reflow_delta);
+ }
+
var h_frame = document.getElementById("headlines-frame");
var c_frame = document.getElementById("content-frame");
var f_frame = document.getElementById("footer");
try {
- cookie_lifetime = getCookie("ttrss_cltime");
-
delCookie("ttrss_vf_test");
// document.onresize = resize_headlines;
loading_set_progress(60);
+ ver_reflow_delta = getCookie("ttrss_reflow_ver");
+
+ if (!ver_reflow_delta) ver_reflow_delta = 0;
+
} catch (e) {
exception_error("init_second_stage", e);
}