瀏覽代碼

Fix bug link at article bottom not mark as read

See https://github.com/marienfressinaud/FreshRSS/issues/578
Marien Fressinaud 11 年之前
父節點
當前提交
d04f7ac9ea
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      p/scripts/main.js

+ 1 - 1
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);
 		});
 	}
 }