mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 02:40:53 -06:00
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
Block a user