From: Andrew Dolgov Date: Fri, 8 Oct 2010 19:27:51 +0000 (+0400) Subject: catchupRelativeToArticle: use confirm_feed_catchup preference X-Git-Tag: 1.5.0~435^2~6 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=fb45339a81ace9759df5e904860176b2d839d01c;p=tt-rss.git catchupRelativeToArticle: use confirm_feed_catchup preference --- diff --git a/viewfeed.js b/viewfeed.js index 73ad35f0..1b8a1dab 100644 --- a/viewfeed.js +++ b/viewfeed.js @@ -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]);