From d04f7ac9ea646b302b71d8cb12c108be0671b3b8 Mon Sep 17 00:00:00 2001 From: Marien Fressinaud Date: Sat, 23 Aug 2014 22:41:28 +0200 Subject: [PATCH] Fix bug link at article bottom not mark as read See https://github.com/marienfressinaud/FreshRSS/issues/578 --- p/scripts/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p/scripts/main.js b/p/scripts/main.js index 4802e0941..c37f9f6f2 100644 --- a/p/scripts/main.js +++ b/p/scripts/main.js @@ -663,7 +663,7 @@ function init_stream(divStream) { if (auto_mark_site) { divStream.on('click', '.flux .link > a', function () { - mark_read($(this).parent().parent().parent(), true); + mark_read($(this).parents(".flux"), true); }); } }