viewfeed: only pass vgroup_last_feed info when using infsroll

This commit is contained in:
Andrew Dolgov 2008-05-17 10:23:04 +01:00
parent 962d8ba4e1
commit 60d4df4dbe
1 changed files with 5 additions and 5 deletions

View File

@ -135,6 +135,11 @@ function viewfeed(feed, subop, is_cat, subop_param, skip_history, offset) {
if (page_offset != 0) {
query = query + "&skip=" + page_offset;
// to prevent duplicate feed titles when showing grouped vfeeds
if (vgroup_last_feed) {
query = query + "&vgrlf=" + param_escape(vgroup_last_feed);
}
}
var date = new Date();
@ -152,11 +157,6 @@ function viewfeed(feed, subop, is_cat, subop_param, skip_history, offset) {
query = query + "&omode=flc";
}
// to prevent duplicate feed titles when showing grouped vfeeds
if (vgroup_last_feed) {
query = query + "&vgrlf=" + param_escape(vgroup_last_feed);
}
debug(query);
var container = document.getElementById("headlinesInnerContainer");