mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
make zoomed avatars detectable by Escape hotkey
This commit is contained in:
@ -8538,6 +8538,7 @@ jQuery(async function () {
|
|||||||
const newElement = $(template);
|
const newElement = $(template);
|
||||||
newElement.attr('forChar', charname);
|
newElement.attr('forChar', charname);
|
||||||
newElement.attr('id', `zoomFor_${charname}`);
|
newElement.attr('id', `zoomFor_${charname}`);
|
||||||
|
newElement.addClass('draggable');
|
||||||
newElement.find('.drag-grabber').attr('id', `zoomFor_${charname}header`);
|
newElement.find('.drag-grabber').attr('id', `zoomFor_${charname}header`);
|
||||||
|
|
||||||
$('body').append(newElement);
|
$('body').append(newElement);
|
||||||
|
Reference in New Issue
Block a user