Compare commits
2 commits
b03ecef484
...
0a1ef77adc
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0a1ef77adc | ||
|
|
8010278359 |
1 changed files with 1 additions and 2 deletions
|
|
@ -12,7 +12,6 @@ function nameTeam(team){
|
||||||
return "Boomiflore";
|
return "Boomiflore";
|
||||||
}
|
}
|
||||||
function showScores(team) {
|
function showScores(team) {
|
||||||
console.log(team);
|
|
||||||
$.alert({
|
$.alert({
|
||||||
title: "<span id='title_" + team + "'>" + nameTeam(team) + "</span>",
|
title: "<span id='title_" + team + "'>" + nameTeam(team) + "</span>",
|
||||||
content: function () {
|
content: function () {
|
||||||
|
|
@ -31,7 +30,7 @@ function showScores(team) {
|
||||||
$entry.attr('id', 'entry_' + i);
|
$entry.attr('id', 'entry_' + i);
|
||||||
$entry.find('.score-entry-text').text(data[i]['text']);
|
$entry.find('.score-entry-text').text(data[i]['text']);
|
||||||
$entry.find('.score-entry-points').text(data[i]['points']);
|
$entry.find('.score-entry-points').text(data[i]['points']);
|
||||||
if (parseInt(data[i]['points']) > 0)
|
if (parseInt(data[i]['points']) >= 0)
|
||||||
$entry.addClass('positive');
|
$entry.addClass('positive');
|
||||||
else
|
else
|
||||||
$entry.addClass('negative');
|
$entry.addClass('negative');
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue