fix(ui): Websocket

Removed debug messages, reformatted method
This commit is contained in:
LQ63
2025-11-27 08:21:23 +01:00
parent 182131f4dc
commit 998308d140
5 changed files with 3 additions and 10 deletions

View File

@@ -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")