summaryrefslogtreecommitdiff
path: root/tt-rss.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-09-06 05:39:31 +0100
committerAndrew Dolgov <[email protected]>2005-09-06 05:39:31 +0100
commita8d28f48e85eae42fba94113a494277929829ddb (patch)
tree86e3c10a3ef4336360278c01f6b960f9391d257e /tt-rss.js
parent13c280e7ce47da4d8021cae72e786aada9b802c6 (diff)
set limitbox value from cookie on init
Diffstat (limited to 'tt-rss.js')
-rw-r--r--tt-rss.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/tt-rss.js b/tt-rss.js
index 6857be5b0..033f144ff 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");
+ }
}