From 2fca7d7b544b36cfedc587a5529c1248b77afb15 Mon Sep 17 00:00:00 2001 From: Iziram Date: Thu, 14 Sep 2023 14:25:27 +0200 Subject: [PATCH] =?UTF-8?q?Assiduites=20:=20fix=20probl=C3=A8me=20saisie?= =?UTF-8?q?=20directe?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/templates/assiduites/widgets/timeline.j2 | 3 +++ app/templates/assiduites/widgets/toast.j2 | 1 + 2 files changed, 4 insertions(+) diff --git a/app/templates/assiduites/widgets/timeline.j2 b/app/templates/assiduites/widgets/timeline.j2 index 576e3021..3a450708 100644 --- a/app/templates/assiduites/widgets/timeline.j2 +++ b/app/templates/assiduites/widgets/timeline.j2 @@ -131,10 +131,13 @@ document.addEventListener( "mouseup", mouseUp, + {once:true} ); document.addEventListener( "touchend", mouseUp, + {once:true} + ); } else if (event.target === periodTimeLine) { diff --git a/app/templates/assiduites/widgets/toast.j2 b/app/templates/assiduites/widgets/toast.j2 index e1599452..ab5e02ef 100644 --- a/app/templates/assiduites/widgets/toast.j2 +++ b/app/templates/assiduites/widgets/toast.j2 @@ -13,6 +13,7 @@ flex-wrap: wrap; transition: all 0.3s ease-in-out; pointer-events: none; + z-index: 999; }