]> git.wh0rd.org Git - tt-rss.git/commitdiff
catchupRelativeToArticle: use confirm_feed_catchup preference
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 8 Oct 2010 19:27:51 +0000 (23:27 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 8 Oct 2010 19:27:51 +0000 (23:27 +0400)
viewfeed.js

index 73ad35f0a95abf7db50636c34d182539f6b9bce3..1b8a1dab0b980ff166997cc01ca7f19b913be037 100644 (file)
@@ -2019,7 +2019,7 @@ function catchupRelativeToArticle(below) {
                } else {
                        var msg = __("Mark %d article(s) as read?").replace("%d", ids_to_mark.length);
 
-                       if (confirm(msg)) {
+                       if (getInitParam("confirm_feed_catchup") != 1 || confirm(msg)) {
 
                                for (var i = 0; i < ids_to_mark.length; i++) {
                                        var e = $("RROW-" + ids_to_mark[i]);