Don't overwrite displaying the last round's black card when a new black card is dealt, if we are looking at the last round's results. Fixes #4.
This commit is contained in:
parent
444bcd96e0
commit
02e2715809
|
@ -274,7 +274,9 @@ cah.Game.prototype.setBlackCard = function(card) {
|
|||
+ " cards, in the order you wish them to be judged.");
|
||||
}
|
||||
|
||||
$(".game_black_card", this.element_).empty().append(this.blackCard_.getElement());
|
||||
if (!this.showingLastRound_) {
|
||||
$(".game_black_card", this.element_).empty().append(this.blackCard_.getElement());
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue