BraydenMoore commited on
Commit
de3c36c
β€’
1 Parent(s): dbf0d02
Files changed (1) hide show
  1. Templates/index.html +2 -1
Templates/index.html CHANGED
@@ -578,8 +578,9 @@
578
  const overEmojiDiv = document.createElement('div');
579
  overEmojiDiv.className = 'emoji';
580
 
581
- overUnderDiv.dataset.proba = (data.over_unders[index]['Probability'][0] * 100).toFixed(0);
582
  if (data.over_unders[index]['Over/Under'][0] === data.over_unders[index]['Result']) {
 
583
  overEmojiDiv.textContent = 'βœ…';
584
  }
585
  else if (data.over_unders[index]['Over/Under'][0] === 'Push') {
 
578
  const overEmojiDiv = document.createElement('div');
579
  overEmojiDiv.className = 'emoji';
580
 
581
+ overUnderDiv.dataset.proba = Math.floor(data.over_unders[index]['Probability'][0] * 100).toFixed(0);
582
  if (data.over_unders[index]['Over/Under'][0] === data.over_unders[index]['Result']) {
583
+ console.log(data.over_unders[index]['Result']);
584
  overEmojiDiv.textContent = 'βœ…';
585
  }
586
  else if (data.over_unders[index]['Over/Under'][0] === 'Push') {