Skip to content

Commit

Permalink
fix dumb typo
Browse files Browse the repository at this point in the history
  • Loading branch information
akeaswaran committed Nov 16, 2024
1 parent 1b5a7d4 commit c0e18b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/views/pages/cfb/game_thumb.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ const CONFERENCE_MAP = {
<% if (gameComp.situation.lastPlay.probability != null) { %>
<% if (gameComp.situation.lastPlay.probability.homeWinPercentage > gameComp.situation.lastPlay.probability.awayWinPercentage) { %>
<p class="mb-0 text-muted"><strong>ESPN WP%:</strong> <%= cleanAbbreviation(homeTeam) %> <%= roundNumber(gameComp.situation.lastPlay.probability.homeWinPercentage * 100, 2, 1) %>%</p>
<% } else if (gameComp.situation.lastPlay.probability.homeWinPercentage > gameComp.situation.lastPlay.probability.awayWinPercentage) { %>
<% } else if (gameComp.situation.lastPlay.probability.homeWinPercentage < gameComp.situation.lastPlay.probability.awayWinPercentage) { %>
<p class="mb-0 text-muted"><strong>ESPN WP%:</strong> <%= cleanAbbreviation(awayTeam) %> <%= roundNumber(gameComp.situation.lastPlay.probability.awayWinPercentage * 100, 2, 1) %>%</p>
<% } else { %>
<p class="mb-0 text-muted"><strong>ESPN WP%:</strong> 50%</p>
Expand Down

0 comments on commit c0e18b9

Please sign in to comment.