From 9e43f8f04bb1124b79b54b70f1e06398b8382922 Mon Sep 17 00:00:00 2001 From: Hui Lan Date: Fri, 14 Aug 2020 08:07:56 +0800 Subject: main.py: make selecting words work on touchscreen. --- app/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/main.py b/app/main.py index ce97486..45a68ec 100644 --- a/app/main.py +++ b/app/main.py @@ -313,6 +313,7 @@ def userpage(username): element.value = element.value + " " + getWord(); } document.getElementById("text-content").addEventListener("click", fillinWord, false); + document.getElementById("text-content").addEventListener("touchstart", fillinWord, false); ''' -- cgit v1.2.1