debug cookie offsets in main init()

This commit is contained in:
Andrew Dolgov 2008-08-21 13:02:54 +01:00
parent d8ee4ffd98
commit fc0b87e058
1 changed files with 2 additions and 0 deletions

View File

@ -473,6 +473,8 @@ function init_second_stage() {
ver_offset = parseInt(getCookie("ttrss_offset_ver"));
hor_offset = parseInt(getCookie("ttrss_offset_hor"));
debug("got offsets from cookies: ver " + ver_offset + " hor " + hor_offset);
/* fuck IE */
if (isNaN(hor_offset)) hor_offset = 0;