don't select text on focus

This commit is contained in:
Sam 2015-09-16 14:40:44 +10:00
parent 31d801ce2c
commit 77895473e5

View file

@ -8,10 +8,6 @@ export default TextField.extend({
return searchContextEnabled ? "" : I18n.t('search.title');
},
focusIn() {
Em.run.later(() => this.$().select());
},
@on("didInsertElement")
becomeFocused() {
if (this.get('hasAutofocus')) this.$().focus();