mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
8 lines
182 B
JavaScript
8 lines
182 B
JavaScript
|
var FocusInput = Ember.TextField.extend({
|
||
|
becomeFocused: function () {
|
||
|
this.$().val(this.$().val()).focus();
|
||
|
}.on('didInsertElement')
|
||
|
});
|
||
|
|
||
|
export default FocusInput;
|