DEV: s/this._super()/this._super(...arguments) (#6908)

This commit is contained in:
Joffrey JAFFEUX
2019-01-19 10:05:51 +01:00
committed by GitHub
parent 61fff098ed
commit 502b1316d0
111 changed files with 174 additions and 151 deletions

View File

@ -48,7 +48,7 @@ export default Ember.Component.extend(AddArchetypeClass, Scrolling, {
},
didInsertElement() {
this._super();
this._super(...arguments);
this.bindScrolling({ name: "topic-view" });
$(window).on("resize.discourse-on-scroll", () => this.scrolled());
@ -117,7 +117,7 @@ export default Ember.Component.extend(AddArchetypeClass, Scrolling, {
},
willDestroyElement() {
this._super();
this._super(...arguments);
this.unbindScrolling("topic-view");
$(window).unbind("resize.discourse-on-scroll");