summaryrefslogtreecommitdiff
path: root/tt-rss.js
diff options
context:
space:
mode:
Diffstat (limited to 'tt-rss.js')
-rw-r--r--tt-rss.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/tt-rss.js b/tt-rss.js
index fb4248ba9..0a17c14c3 100644
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -555,3 +555,12 @@ function parse_runtime_info(elem) {
param = param.nextSibling;
}
}
+
+function catchupCurrentFeed() {
+
+ var fn = getFeedName(getActiveFeedId());
+
+ if (confirm("Mark all articles in " + fn + " as read?")) {
+ return viewCurrentFeed(0, 'MarkAllRead')
+ }
+}