FIX: Don't modify properties in `didInsertElement`
This commit is contained in:
parent
eb453d0f82
commit
4820ebd76c
|
@ -65,7 +65,7 @@ export default Ember.Component.extend({
|
|||
|
||||
const prevEvent = this.get('prevEvent');
|
||||
if (prevEvent) {
|
||||
this._topicScrolled(prevEvent);
|
||||
Ember.run.scheduleOnce('afterRender', this, this._topicScrolled, prevEvent);
|
||||
} else {
|
||||
Ember.run.scheduleOnce('afterRender', this, this._updateProgressBar);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue