Merge pull request #1392 from datitisev/patch-2

Always return a promise in PostStream#update
This commit is contained in:
Toby Zerner 2018-03-25 08:35:52 +10:30 committed by GitHub
commit 9c804767db

View File

@ -122,7 +122,7 @@ class PostStream extends Component {
* @public
*/
update() {
if (!this.viewingEnd) return;
if (!this.viewingEnd) return m.deferred().resolve().promise;
this.visibleEnd = this.count();