if (first_run) {
scheduleFeedUpdate(false);
+ if (getCookie("ttrss_vf_actfeed")) {
+ viewfeed(getCookie("ttrss_vf_actfeed"), 0, "");
+ }
first_run = false;
} else {
notify("");
var container = document.getElementById('feeds');
container.innerHTML = xmlhttp_rpc.responseText;
document.title = "Tiny Tiny RSS";
+
+ cleanSelected("feedsList");
+
+ var feedr = document.getElementById("FEEDR-" + active_feed_id);
+ if (feedr) {
+ feedr.className = feedr.className + "Selected";
+ }
+
}
}
headlines_frame.src = query + "&addheader=true";
- var feedr = document.getElementById("FEEDR-" + feed);
-
cleanSelected("feedsList");
- feedr.className = feedr.className + "Selected";
+ var feedr = document.getElementById("FEEDR-" + feed);
+ if (feedr) {
+ feedr.className = feedr.className + "Selected";
+ }
disableContainerChildren("headlinesToolbar", false);
viewbox.value = getCookie("ttrss_vf_vmode");
}
- if (getCookie("ttrss_vf_actfeed")) {
- viewfeed(getCookie("ttrss_vf_actfeed"), 0, "");
- }
-
}