set limitbox value from cookie on init
This commit is contained in:
parent
13c280e7ce
commit
a8d28f48e8
1 changed files with 4 additions and 4 deletions
|
@ -419,15 +419,15 @@ function init() {
|
||||||
|
|
||||||
var content = document.getElementById("content");
|
var content = document.getElementById("content");
|
||||||
|
|
||||||
// active_feed_id = getCookie("ttrss_vf_actfeed");
|
|
||||||
|
|
||||||
var limitbox = document.getElementById("limitbox");
|
|
||||||
|
|
||||||
if (getCookie("ttrss_vf_vmode")) {
|
if (getCookie("ttrss_vf_vmode")) {
|
||||||
var viewbox = document.getElementById("viewbox");
|
var viewbox = document.getElementById("viewbox");
|
||||||
viewbox.value = 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");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue