Fixed "remove all listeners" deprecation

no issue

- https://deprecations.emberjs.com/v3.x/#toc_events-remove-all-listeners
This commit is contained in:
Kevin Ansfield 2019-05-06 15:00:06 +01:00
parent f8ccb81dfc
commit 344999a69b

View File

@ -14,6 +14,6 @@ export default BasicDropdown.extend({
willDestroyElement() {
this._super(...arguments);
this.dropdown.off('close');
this.dropdown.off('close', this, this.close);
}
});