From adae144b3ce99a42adc3c7dbadcf83ab839f18fd Mon Sep 17 00:00:00 2001 From: Rhys Tyers Date: Fri, 21 Oct 2022 16:02:16 +0100 Subject: Fix mark read throughscrolling in NC24 Signed-off-by: Rhys Tyers --- CHANGELOG.md | 2 ++ js/directive/NewsScroll.js | 3 +++ 2 files changed, 5 insertions(+) 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'); }; -- cgit v1.2.3