DEV: Remove jquery from invite-panel (#16989)

This commit is contained in:
Isaac Janzen 2022-06-03 11:30:44 -05:00 committed by GitHub
parent 3b3f60218e
commit f8d2da2fa0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,6 +2,8 @@ import Component from "@ember/component";
export default Component.extend({
didInsertElement() {
this._super(...arguments);
$(this.element.querySelector(".invite-link-input")).select().focus();
const invite = this.element.querySelector(".invite-link-input");
invite.focus();
invite.select();
},
});