FIX: A paste event listener was re-added instead of being removed
cc: @eviltrout 😉
This commit is contained in:
parent
3cf93e9a8f
commit
6287c8e171
|
@ -43,7 +43,7 @@ export default TextField.extend({
|
|||
@on("willDestroyElement")
|
||||
_destroyAutocompleteInstance() {
|
||||
$(this.element).autocomplete("destroy");
|
||||
this.element.addEventListener("paste", this._paste);
|
||||
this.element.removeEventListener("paste", this._paste);
|
||||
},
|
||||
|
||||
@on("didInsertElement")
|
||||
|
|
Loading…
Reference in New Issue