Skip to content

Commit

Permalink
Optimize focusTimeElapsedInput behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
big213 committed Apr 18, 2021
1 parent 6192389 commit f76c92b
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@ export default {
this.setInputValue('setSize', val.setSize)
}
}
if (val && this.getInputValue('setSize')) this.focusTimeElapsedInput()
},
timeElapsed(val) {
Expand All @@ -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(() => {
Expand Down

0 comments on commit f76c92b

Please sign in to comment.