replace the border on the winning card, not add another one
This commit is contained in:
parent
0d2a43aedf
commit
5e95299801
|
@ -564,7 +564,7 @@ cah.Game.prototype.updateUserStatus = function(playerInfo) {
|
||||||
*/
|
*/
|
||||||
cah.Game.prototype.roundComplete = function(data) {
|
cah.Game.prototype.roundComplete = function(data) {
|
||||||
var card = this.roundCards_[data[cah.$.LongPollResponse.WINNING_CARD]];
|
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]];
|
var scoreCard = this.scoreCards_[data[cah.$.LongPollResponse.ROUND_WINNER]];
|
||||||
$(scoreCard.getElement()).addClass("selected");
|
$(scoreCard.getElement()).addClass("selected");
|
||||||
cah.log.status("The next round will begin in "
|
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
|
* confirm card as judge without selecting a round card did ... something
|
||||||
* card after playing it
|
*
|
||||||
|
* don't always see your card after playing it
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue