FIX: Don't dock the timeline when loading
This commit is contained in:
parent
5901faa643
commit
18ffa6e98b
|
@ -12,6 +12,8 @@ export default MountWidget.extend(Docking, {
|
|||
},
|
||||
|
||||
dockCheck(info) {
|
||||
if (this.get('loading')) { return; }
|
||||
|
||||
const topicBottom = $('#topic-bottom').offset().top;
|
||||
const $timeline = this.$('.timeline-container');
|
||||
const timelineHeight = $timeline.height();
|
||||
|
|
|
@ -73,6 +73,7 @@
|
|||
|
||||
{{#if showTimeline}}
|
||||
{{topic-timeline topic=model
|
||||
loading=model.postStream.loading
|
||||
jumpTop="jumpTop"
|
||||
jumpToPost="jumpToPost"
|
||||
jumpBottom="jumpBottom"
|
||||
|
|
Loading…
Reference in New Issue