Skip to content

Commit

Permalink
updated scoreTracker
Browse files Browse the repository at this point in the history
  • Loading branch information
mrshu committed Feb 9, 2013
1 parent 0f33879 commit 1f9b95c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions scoreboard/static/js/scoreTracker.js
Expand Up @@ -269,7 +269,7 @@ scoreTracker.prototype = {
"Send results": function() {
var df = confirm("Are you sure you want to save these results?\n\n" +
$this.teamA + ' ' +
$this.scoreA + " : " + $this.scoreB + ' ' +
$('#dgoals').val() + " : " + $('#d2goals').val() + ' ' +
$this.teamB);

if (df) {
Expand All @@ -284,9 +284,9 @@ scoreTracker.prototype = {
width: 500,
height: 250
});
$('#dname').html($('#name1').text());
$('#d2name').html($('#name2').text());
$('#dgoals').val($('#team1').text());
$('#d2goals').val($('#team2').text());
$('#dname').html($this.teamA);
$('#d2name').html($this.teamB);
$('#dgoals').val($this.scoreA);
$('#d2goals').val($this.scoreB);
}
}

0 comments on commit 1f9b95c

Please sign in to comment.