From 548f2879de3d29253eda43a08124fc60f9c25714 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Thu, 11 Jun 2015 18:39:12 +0930 Subject: [PATCH] Fix incorrect visible range in post scrubber --- framework/core/js/forum/src/components/post-scrubber.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/core/js/forum/src/components/post-scrubber.js b/framework/core/js/forum/src/components/post-scrubber.js index d11cb116b..362988523 100644 --- a/framework/core/js/forum/src/components/post-scrubber.js +++ b/framework/core/js/forum/src/components/post-scrubber.js @@ -134,7 +134,7 @@ export default class PostScrubber extends Component { // properties to a 'default' state. These values reflect what would be // seen if the browser were scrolled right up to the top of the page, // and the viewport had a height of 0. - var $items = stream.$('> .item'); + var $items = stream.$('> .item[data-index]'); var index = $items.first().data('index'); var visible = 0; var period = '';