From 49749a65a302ef1171149c60fee92a90309d1fd5 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Thu, 14 May 2015 22:20:47 +0930 Subject: [PATCH] Fix up post stream jumping to index --- framework/core/js/forum/src/components/stream-scrubber.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/core/js/forum/src/components/stream-scrubber.js b/framework/core/js/forum/src/components/stream-scrubber.js index bf18af92d..b29af44b2 100644 --- a/framework/core/js/forum/src/components/stream-scrubber.js +++ b/framework/core/js/forum/src/components/stream-scrubber.js @@ -385,7 +385,7 @@ export default class StreamScrubber extends Component { // If the index we've landed on is in a gap, then tell the stream- // content that we want to load those posts. var intIndex = Math.floor(this.index()); - if (!this.props.streamContent.props.stream.findNearestToIndex(intIndex).content) { + if (!this.props.streamContent.props.stream.findNearestToIndex(intIndex).post) { this.props.streamContent.goToIndex(intIndex); } else { this.props.streamContent.paused(false);