Permalink
Browse files

fix preview and goal animation

  • Loading branch information...
1 parent 9072d7a commit 25be63092b9b1cf2c570a4186b81460fd5ceefbe @asquared asquared committed Feb 13, 2013
Showing with 4 additions and 4 deletions.
  1. +3 −1 public_html/scoreboard.html
  2. +1 −3 public_html/scoreboard.js
@@ -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">
@@ -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() {

0 comments on commit 25be630

Please sign in to comment.