added orientationUp class

This commit is contained in:
patriciarealini 2015-09-12 17:31:18 -07:00
parent 686902a027
commit c828401ca8

View File

@ -126,10 +126,11 @@ var dealCard = function(i) {
img.alt = cards[i]; img.alt = cards[i];
if (orient === 1) { if (orient === 1) {
$(img).addClass("orientation"); $(img).addClass("orientationDown");
document.getElementById("hand").appendChild(img); document.getElementById("hand").appendChild(img);
removeCard(i); removeCard(i);
} else { } else {
$(img).addClass("orientationUp");
document.getElementById("hand").appendChild(img); document.getElementById("hand").appendChild(img);
removeCard(i); removeCard(i);
} }