From f083e8bc596b2446626f7610633f2be1bb5606a0 Mon Sep 17 00:00:00 2001 From: Kevin Ansfield Date: Mon, 11 Feb 2019 13:51:10 +0000 Subject: [PATCH] Removed unnecessary TextField override no issue - Ember's TextSupport mixin (used by TextField and TextArea) has had `autofocus` as an `attributeBinding` since 1.5.0 so the override to add it is not necessary --- ghost/admin/app/app.js | 1 - ghost/admin/app/utils/text-field.js | 5 ----- 2 files changed, 6 deletions(-) delete mode 100644 ghost/admin/app/utils/text-field.js diff --git a/ghost/admin/app/app.js b/ghost/admin/app/app.js index 2567b76521..615148874c 100755 --- a/ghost/admin/app/app.js +++ b/ghost/admin/app/app.js @@ -1,6 +1,5 @@ import 'ghost-admin/utils/link-component'; import 'ghost-admin/utils/route'; -import 'ghost-admin/utils/text-field'; import Application from '@ember/application'; import Resolver from './resolver'; import config from './config/environment'; diff --git a/ghost/admin/app/utils/text-field.js b/ghost/admin/app/utils/text-field.js deleted file mode 100644 index f73e125a66..0000000000 --- a/ghost/admin/app/utils/text-field.js +++ /dev/null @@ -1,5 +0,0 @@ -import TextField from '@ember/component/text-field'; - -TextField.reopen({ - attributeBindings: ['autofocus'] -});