replace the border on the winning card, not add another one

This commit is contained in:
Andy Janata 2012-01-28 23:33:21 -08:00
parent 0d2a43aedf
commit 5e95299801
1 changed files with 5 additions and 4 deletions

View File

@ -564,7 +564,7 @@ cah.Game.prototype.updateUserStatus = function(playerInfo) {
*/
cah.Game.prototype.roundComplete = function(data) {
var card = this.roundCards_[data[cah.$.LongPollResponse.WINNING_CARD]];
$(card.getElement()).addClass("selected");
$(".card", card.getElement()).addClass("selected");
var scoreCard = this.scoreCards_[data[cah.$.LongPollResponse.ROUND_WINNER]];
$(scoreCard.getElement()).addClass("selected");
cah.log.status("The next round will begin in "
@ -876,7 +876,8 @@ cah.GameScorePanel.prototype.getStatus = function() {
// }
// });
/*
* - confirm card as judge without selecting a round card did ... something - don't always see your
* card after playing it
/**
* confirm card as judge without selecting a round card did ... something
*
* don't always see your card after playing it
*/