Skip to content

Commit

Permalink
Still focus earlier season rank/placement fields
Browse files Browse the repository at this point in the history
  • Loading branch information
cheshire137 committed Sep 7, 2019
1 parent 3cc6c67 commit 4e75afb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/MatchForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,7 @@ class MatchForm extends Component {
className="form-select select-lg"
value={result}
required
autoFocus={season < Season.roleQueueSeasonStart}
id="match-result"
onChange={this.onResultChange}
ref={el => this.placementMatchResultField = el}
Expand All @@ -550,6 +551,7 @@ class MatchForm extends Component {
id="match-rank"
type="number"
required
autoFocus={season < Season.roleQueueSeasonStart}
ref={el => this.matchRankField = el}
className="form-control sr-field"
value={rank}
Expand Down

0 comments on commit 4e75afb

Please sign in to comment.