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:
Andy Janata 2012-02-20 11:59:47 -08:00
parent 444bcd96e0
commit 02e2715809
1 changed files with 3 additions and 1 deletions

View File

@ -274,7 +274,9 @@ cah.Game.prototype.setBlackCard = function(card) {
+ " cards, in the order you wish them to be judged."); + " cards, in the order you wish them to be judged.");
} }
if (!this.showingLastRound_) {
$(".game_black_card", this.element_).empty().append(this.blackCard_.getElement()); $(".game_black_card", this.element_).empty().append(this.blackCard_.getElement());
}
}; };
/** /**