diff options
author | Andrew Dolgov <[email protected]> | 2005-12-20 13:11:15 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2005-12-20 13:11:15 +0100 |
commit | 4bbd5aec59c57864a43fc6ddf88fde865eacbb8f (patch) | |
tree | 9a8a3a50fd793546ae25528a2c7922d5b64ab506 | |
parent | 1b0809ae450c1fb6b528c37c2c9e48e766ef7cc2 (diff) |
fix headlineToolbar initialization on load
-rw-r--r-- | tt-rss.js | 23 |
1 files changed, 3 insertions, 20 deletions
@@ -364,28 +364,11 @@ function init_second_stage() { updateFeedList(false, false); document.onkeydown = hotkey_handler; - var content = document.getElementById("content"); + var viewbox = document.getElementById("viewbox"); + var limitbox = document.getElementById("limitbox"); dropboxSelect(viewbox, getCookie("ttrss_vf_vmode")); - -/* if (getCookie("ttrss_vf_vmode")) { - var viewbox = document.getElementById("viewbox"); - if (getCookie("ttrss_vf_vmode")) { - viewbox.value = getCookie("ttrss_vf_vmode"); - } - } - - if (getCookie("ttrss_vf_limit")) { - var limitbox = document.getElementById("limitbox"); - limitbox.value = getCookie("ttrss_vf_limit"); - } */ - - // if (getCookie("ttrss_vf_actfeed")) { - // viewfeed(getCookie("ttrss_vf_actfeed"), 0, ''); - // } - - // setTimeout("timeout()", 2*1000); - // scheduleFeedUpdate(true); + dropboxSelect(limitbox, getCookie("ttrss_vf_limit")); } catch (e) { exception_error("init_second_stage", e); |