diff options
| author | 2017-03-04 11:27:08 +0100 | |
|---|---|---|
| committer | 2017-03-04 11:27:08 +0100 | |
| commit | 29b4fbcf0abff1cff13b53d6b01e79e14de4c7f9 (patch) | |
| tree | 00f0739bf9a5f8677976ad348bb83e3b43e5122d /p/scripts/main.js | |
| parent | 99af5afba14ca9d19c4790a93090d1ac792e6aaf (diff) | |
| parent | 2de29865e39f201b438ae31e16c86d480f7cc59d (diff) | |
Merge pull request #1451 from Alkarex/anonymous-fix-403
Do not mark as read in anonymous mode
Diffstat (limited to 'p/scripts/main.js')
| -rw-r--r-- | p/scripts/main.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/p/scripts/main.js b/p/scripts/main.js index d464b0863..5dbb95c91 100644 --- a/p/scripts/main.js +++ b/p/scripts/main.js @@ -117,6 +117,7 @@ function incUnreadsFeed(article, feed_id, nb) { var pending_entries = {}; function mark_read(active, only_not_read) { if ((active.length === 0) || (!active.attr('id')) || + context.anonymous || (only_not_read && !active.hasClass("not_read"))) { return false; } |
