From d4d23f8234599c87aff002857085af5515cb1aad Mon Sep 17 00:00:00 2001 From: Kristan Schlikow Date: Mon, 15 Apr 2024 20:38:59 +0200 Subject: [PATCH] Only close on left click --- public/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/script.js b/public/script.js index baba079d7..1a74fb971 100644 --- a/public/script.js +++ b/public/script.js @@ -10260,7 +10260,7 @@ jQuery(async function () { } $('.zoomed_avatar').on('mouseup', (e) => { - if (e.target.closest('.drag-grabber') || e.button === 2) { + if (e.target.closest('.drag-grabber') || e.button !== 0) { return; } $(`.zoomed_avatar[forChar="${charname}"]`).fadeOut(animation_duration, () => {