Compare commits

..

No commits in common. "0a1ef77adc5204bb1fcdd2dd3a5fb5092c141ddb" and "b03ecef484fd18cd55377936af722cee0ff7693c" have entirely different histories.

View file

@ -12,6 +12,7 @@ function nameTeam(team){
return "Boomiflore";
}
function showScores(team) {
console.log(team);
$.alert({
title: "<span id='title_" + team + "'>" + nameTeam(team) + "</span>",
content: function () {
@ -30,7 +31,7 @@ function showScores(team) {
$entry.attr('id', 'entry_' + i);
$entry.find('.score-entry-text').text(data[i]['text']);
$entry.find('.score-entry-points').text(data[i]['points']);
if (parseInt(data[i]['points']) >= 0)
if (parseInt(data[i]['points']) > 0)
$entry.addClass('positive');
else
$entry.addClass('negative');