Skip to content

Commit

Permalink
Fix add feed (order and exclude)
Browse files Browse the repository at this point in the history
  • Loading branch information
gandf committed May 3, 2022
1 parent dc3d379 commit 00b1635
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion manage.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function Add()
return;
}

AddRow(feeds.push(CreateNewFeed(title, url, group, maxItems, excludeUnreadCount, order)) - 1);
AddRow(feeds.push(CreateNewFeed(title, url, group, maxItems, order, excludeUnreadCount)) - 1);

for(feedKey in feeds)
{
Expand Down
4 changes: 4 additions & 0 deletions viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -539,6 +539,10 @@ function MarkFeedReadFromGroup(feedID) {
var groupKey = null;
var listUnread = [];

if (unreadInfo[feedID] == undefined) {
return;
}

if (unreadInfo[feedID].unreadtotal == 0) {
return;
}
Expand Down

0 comments on commit 00b1635

Please sign in to comment.