From df634be1c514ad6b1a5a4f9520c0344176632585 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= Date: Mon, 27 Mar 2023 21:47:41 +0200 Subject: [PATCH] lint. --- client/src/components/video.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/src/components/video.vue b/client/src/components/video.vue index c55f1bf9..e97c4fc9 100644 --- a/client/src/components/video.vue +++ b/client/src/components/video.vue @@ -690,11 +690,11 @@ }, 100) } } - onTouchHandler(event: TouchEvent) { - let touches = event.changedTouches - let first = touches[0] + + onTouchHandler(e: TouchEvent) { + let first = e.changedTouches[0] let type = '' - switch (event.type) { + switch (e.type) { case 'touchstart': type = 'mousedown' break