From 1fd40d997854e0f23c22ef7d06c0a0a0e5140d89 Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Thu, 25 Aug 2022 16:10:17 -0400 Subject: Touch support --- scripts/cards/card.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts/cards/card.js') diff --git a/scripts/cards/card.js b/scripts/cards/card.js index 69312e9..e49aeba 100644 --- a/scripts/cards/card.js +++ b/scripts/cards/card.js @@ -15,6 +15,10 @@ class Card { this.e.style.setProperty("--top", "0px"); this.e.card = this; + this.getData = () => { + return data; + }; + this.id = id; this.deck = deck; } -- cgit v1.2.3