FIX: Odd scrolling

This commit is contained in:
Robin Ward 2016-02-10 16:09:13 -05:00
parent 867215a915
commit e3cc04f315
2 changed files with 2 additions and 2 deletions

View File

@ -142,7 +142,7 @@ export default Ember.Controller.extend(SelectedPostsCount, BufferedContent, {
this.set('controllers.topic-progress.progressPosition', postStream.progressIndexOfPost(post)); this.set('controllers.topic-progress.progressPosition', postStream.progressIndexOfPost(post));
if (lastLoadedPost && lastLoadedPost === post) { if (lastLoadedPost && lastLoadedPost === post && postStream.get('canAppendMore')) {
postStream.appendMore().then(() => refresh()); postStream.appendMore().then(() => refresh());
// show loading stuff // show loading stuff
refresh(); refresh();

View File

@ -29,7 +29,7 @@ export default class PostCooked {
this._fixImageSizes($html); this._fixImageSizes($html);
this._applySearchHighlight($html); this._applySearchHighlight($html);
// _decorators.forEach(cb => cb($html)); _decorators.forEach(cb => cb($html));
return $html[0]; return $html[0];
} }