set limitbox value from cookie on init

This commit is contained in:
Andrew Dolgov 2005-09-06 05:39:31 +01:00
parent 13c280e7ce
commit a8d28f48e8
1 changed files with 4 additions and 4 deletions

View File

@ -419,15 +419,15 @@ function init() {
var content = document.getElementById("content");
// active_feed_id = getCookie("ttrss_vf_actfeed");
var limitbox = document.getElementById("limitbox");
if (getCookie("ttrss_vf_vmode")) {
var viewbox = document.getElementById("viewbox");
viewbox.value = getCookie("ttrss_vf_vmode");
}
if (getCookie("ttrss_vf_limit")) {
var limitbox = document.getElementById("limitbox");
limitbox.value = getCookie("ttrss_vf_limit");
}
}