summaryrefslogtreecommitdiffstats
path: root/js/directive/NewsScroll.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/directive/NewsScroll.js')
-rw-r--r--js/directive/NewsScroll.js3
1 files changed, 3 insertions, 0 deletions
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');
};