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) {
|
dockCheck(info) {
|
||||||
|
if (this.get('loading')) { return; }
|
||||||
|
|
||||||
const topicBottom = $('#topic-bottom').offset().top;
|
const topicBottom = $('#topic-bottom').offset().top;
|
||||||
const $timeline = this.$('.timeline-container');
|
const $timeline = this.$('.timeline-container');
|
||||||
const timelineHeight = $timeline.height();
|
const timelineHeight = $timeline.height();
|
||||||
|
|
|
@ -73,6 +73,7 @@
|
||||||
|
|
||||||
{{#if showTimeline}}
|
{{#if showTimeline}}
|
||||||
{{topic-timeline topic=model
|
{{topic-timeline topic=model
|
||||||
|
loading=model.postStream.loading
|
||||||
jumpTop="jumpTop"
|
jumpTop="jumpTop"
|
||||||
jumpToPost="jumpToPost"
|
jumpToPost="jumpToPost"
|
||||||
jumpBottom="jumpBottom"
|
jumpBottom="jumpBottom"
|
||||||
|
|
Loading…
Reference in New Issue