fix(ui): Websocket
Removed debug messages, reformatted method
This commit is contained in:
@@ -27,7 +27,6 @@ function handlePlayCard(cardIndex, dog) {
|
||||
).catch(
|
||||
(err) => {
|
||||
const cardslide = $('#card-slide')
|
||||
console.log("EERROOOORRR PLAYING CARD" + (err.toString() === "You can't play this card!") + err.message)
|
||||
console.warn("play card was not successful")
|
||||
if (err.message === "You can't play this card!") {
|
||||
cardslide.removeClass("inactive")
|
||||
|
||||
Reference in New Issue
Block a user