From af053b3d3a8941b2dbdb380d3521ee1848b1da54 Mon Sep 17 00:00:00 2001 From: SillyLossy Date: Mon, 27 Mar 2023 18:39:16 +0300 Subject: [PATCH] Don't close drawer on click-drag outside of it --- public/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/script.js b/public/script.js index 61beb9a3b..adb5a2f2a 100644 --- a/public/script.js +++ b/public/script.js @@ -4213,7 +4213,7 @@ $(document).ready(function () { } }); - $("html").click(function (e) { + $("html").on('touchstart mousedown', function (e) { var clickTarget = $(e.target); const forbiddenTargets = ['#character_cross', '#avatar-and-name-block', '#shadow_popup'];