From: Andrew Dolgov Date: Tue, 6 Sep 2005 04:39:31 +0000 (+0100) Subject: set limitbox value from cookie on init X-Git-Tag: 1.0.3~29 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=a8d28f48e85eae42fba94113a494277929829ddb;p=tt-rss.git set limitbox value from cookie on init --- 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"); + } }