Skip to content

Commit

Permalink
Update Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
s4shyam95 committed Apr 5, 2020
1 parent 999ff89 commit cf6d2b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions static/chat.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,12 @@ $(function() {
var pcard_suit_string = ['spades', 'diams', 'clubs','hearts'][pcard_suit]

var ele = $('<li class="bqpointcard"><a class="card rank-'+pcard_rank_string+' '+pcard_suit_string+'"><span class="rank">'+pcard_rank_string.toUpperCase()+'</span><span class="suit">&'+pcard_suit_string+';</span></a></li>');
$('points_'+data.winner).append(ele);
$('#points_'+data.winner).append(ele);
}

}
var ele = $('<div style="display: inline-block;"><li class="bqplayedcard"><a class="card rank-'+card_rank_string+' '+card_suit_string+'"><span class="rank">'+card_rank_string.toUpperCase()+'</span><span class="suit">&'+card_suit_string+';</span></a></li><label> '+data['player']+' </label></div>')
$('#played_card ul').append(ele);
$('#played_cards ul').append(ele);
}
else{
alert(data.message);
Expand Down
2 changes: 1 addition & 1 deletion templates/chat/room.html
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ <h5 hidden>Your Cards</h5>

</ul>
</div>
<table id="points_table">
<table id="points_table" hidden>
<thead>
<tr>
<th>Player</th>
Expand Down

0 comments on commit cf6d2b4

Please sign in to comment.