From a8d28f48e85eae42fba94113a494277929829ddb Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 6 Sep 2005 05:39:31 +0100 Subject: [PATCH] set limitbox value from cookie on init --- tt-rss.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tt-rss.js b/tt-rss.js index 6857be5b..033f144f 100644 --- a/tt-rss.js +++ b/tt-rss.js @@ -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"); + } } -- 2.39.5