diff options
author | Rhys Tyers <mail@rhy.si> | 2022-10-21 16:02:16 +0100 |
---|---|---|
committer | Benjamin Brahmer <info@b-brahmer.de> | 2022-10-22 14:31:01 +0200 |
commit | adae144b3ce99a42adc3c7dbadcf83ab839f18fd (patch) | |
tree | bf00e1c0f1fd2801674d37ae71082cfcf6d128cf | |
parent | a9771c27a922aaff5d5ff67633d35dc42a5eb4e4 (diff) |
Fix mark read throughscrolling in NC24
Signed-off-by: Rhys Tyers <mail@rhy.si>
-rw-r--r-- | CHANGELOG.md | 2 | ||||
-rw-r--r-- | js/directive/NewsScroll.js | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index b1164a821..a605335c3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ The format is mostly based on [Keep a Changelog](https://keepachangelog.com/en/1 ### Changed ### Fixed +- Corrected article compact title bar position in NC25 +- Fixed "Mark read through scrolling" in NC25 and NC24 # Releases ## [18.3.0] - 2022-10-10 diff --git a/js/directive/NewsScroll.js b/js/directive/NewsScroll.js index 6fd1f1117..afbd3b703 100644 --- a/js/directive/NewsScroll.js +++ b/js/directive/NewsScroll.js @@ -19,6 +19,9 @@ app.directive('newsScroll', function ($timeout, ITEM_AUTO_PAGE_SIZE, if (majorVersion >= 25) { return appContentElem; } + if (majorVersion === 24) { + return $(window); + } return $('html'); }; |