Skip to content

Commit

Permalink
fix preview and goal animation
Browse files Browse the repository at this point in the history
  • Loading branch information
asquared committed Feb 13, 2013
1 parent 9072d7a commit 25be630
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 3 additions & 1 deletion public_html/scoreboard.html
Expand Up @@ -142,7 +142,9 @@
<div class="teamControl" id="awayTeamControl"></div>
<div class="teamControl" id="homeTeamControl"></div>
<div style="clear:left"></div>
<div id="preview" class="control" style="width:1480px; height:120px">Preview <br /><object style="width:1460px; height:100px; overflow:visible" type="image/svg+xml" data="/preview" /></div>
<div id="preview" class="control">
<div id="previewDiv"></div>
</div>
</div>

<div style="display: none" id="teamProto">
Expand Down
4 changes: 1 addition & 3 deletions public_html/scoreboard.js
Expand Up @@ -575,9 +575,7 @@ function addPoints(points) {
);
$(this).team().putTeamData();
// trigger any kind of blinky goal animations (or whatever)
if (points >= 3) {
viewCommand({"goal_scored_by" : $(this).team().data('url')});
}
viewCommand({"goal_scored_by" : $(this).team().data('url')});
}

function shotTaken() {
Expand Down

0 comments on commit 25be630

Please sign in to comment.