mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix right click closing the zoomed avatar image
This commit is contained in:
@ -10260,7 +10260,7 @@ jQuery(async function () {
|
||||
}
|
||||
|
||||
$('.zoomed_avatar').on('mouseup', (e) => {
|
||||
if (e.target.closest('.drag-grabber')) {
|
||||
if (e.target.closest('.drag-grabber') || e.button === 2) {
|
||||
return;
|
||||
}
|
||||
$(`.zoomed_avatar[forChar="${charname}"]`).fadeOut(animation_duration, () => {
|
||||
|
Reference in New Issue
Block a user