Spaces:
Running
Running
BraydenMoore
commited on
Commit
β’
de3c36c
1
Parent(s):
dbf0d02
Push
Browse files- 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') {
|