Skip to content

Commit

Permalink
refactor(HourMinuteInput): Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
philip-cline committed Oct 9, 2023
1 parent 48ff8db commit a23bd14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/editor/components/HourMinuteInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default class HourMinuteInput extends Component<Props, State> {
_onKeyDown = (evt: KeyboardEvent) => {
const {key} = evt

// Move to minute field when colon is typed
// Move to minute or second field when colon is typed
if (key === ':') {
evt.preventDefault()
const focusElement = evt.currentTarget.id === 'hours' ? 'minutes' : 'seconds'
Expand Down

0 comments on commit a23bd14

Please sign in to comment.