mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 23:24:10 +08:00
DEV: Upgrades to Ember 3.10 (#7871)
Co-Authored-By: majakomel <maja.komel@gmail.com>
This commit is contained in:
@ -14,7 +14,7 @@ export default Ember.Component.extend(bufferedProperty("host"), {
|
||||
@observes("editing")
|
||||
_focusOnInput() {
|
||||
Ember.run.schedule("afterRender", () => {
|
||||
this.$(".host-name").focus();
|
||||
this.element.querySelector(".host-name").focus();
|
||||
});
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user