fix headlineToolbar initialization on load

This commit is contained in:
Andrew Dolgov 2005-12-20 13:11:15 +01:00
parent 1b0809ae45
commit 4bbd5aec59
1 changed files with 3 additions and 20 deletions

View File

@ -364,28 +364,11 @@ function init_second_stage() {
updateFeedList(false, false); updateFeedList(false, false);
document.onkeydown = hotkey_handler; 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")); dropboxSelect(viewbox, getCookie("ttrss_vf_vmode"));
dropboxSelect(limitbox, getCookie("ttrss_vf_limit"));
/* 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);
} catch (e) { } catch (e) {
exception_error("init_second_stage", e); exception_error("init_second_stage", e);