Permalink
Browse files

history WR consistency

  • Loading branch information...
Manuel-777 committed Jan 22, 2019
1 parent 4431846 commit ebde1538d3b423e22f51a752f59a71ff79a05d46
Showing with 1 addition and 2 deletions.
  1. +1 −2 window_main/history.js
@@ -100,8 +100,7 @@ function open_history_tab(loadMore) {
let wrTotal = 1 / (wins+losses) * wins;

let colClass = getWinrateClass(wrTotal);

d.innerHTML = `Wins: ${wins} / Losses: ${losses} (<span class="${colClass}_bright">${Math.round(wrTotal*100)}%</span>)`;
d.innerHTML = `${wins} : ${losses} (<span class="${colClass}_bright">${Math.round(wrTotal*100)}%</span>)`;
history_top_winrate.appendChild(d);

div.appendChild(history_top_filter);

0 comments on commit ebde153

Please sign in to comment.