From f76c92b23f353e61fbe373619a45b50d02395242 Mon Sep 17 00:00:00 2001 From: James Chang Date: Sun, 18 Apr 2021 09:54:13 -0400 Subject: [PATCH] Optimize focusTimeElapsedInput behavior --- .../interface/crud/special/editPersonalBestInterface.vue | 8 -------- 1 file changed, 8 deletions(-) diff --git a/frontend/components/interface/crud/special/editPersonalBestInterface.vue b/frontend/components/interface/crud/special/editPersonalBestInterface.vue index c4fd915..e067dfd 100644 --- a/frontend/components/interface/crud/special/editPersonalBestInterface.vue +++ b/frontend/components/interface/crud/special/editPersonalBestInterface.vue @@ -159,7 +159,6 @@ export default { this.setInputValue('setSize', val.setSize) } } - if (val && this.getInputValue('setSize')) this.focusTimeElapsedInput() }, timeElapsed(val) { @@ -180,13 +179,6 @@ export default { }, }, - mounted() { - // focus the time field if the event and pbClass are set - if (this.event && this.pbClass) { - this.focusTimeElapsedInput() - } - }, - methods: { focusTimeElapsedInput() { setTimeout(() => {