mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-14 11:55:56 +00:00
fix name display in catchup prompt in category view mode
This commit is contained in:
10
tt-rss.js
10
tt-rss.js
@@ -559,9 +559,15 @@ function parse_runtime_info(elem) {
|
||||
|
||||
function catchupCurrentFeed() {
|
||||
|
||||
var fn = getFeedName(getActiveFeedId());
|
||||
var fn = getFeedName(getActiveFeedId(), active_feed_is_cat);
|
||||
|
||||
if (confirm("Mark all articles in " + fn + " as read?")) {
|
||||
var str = "Mark all articles in " + fn + " as read?";
|
||||
|
||||
/* if (active_feed_is_cat) {
|
||||
str = "Mark all articles in this category as read?";
|
||||
} */
|
||||
|
||||
if (confirm(str)) {
|
||||
return viewCurrentFeed(0, 'MarkAllRead')
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user