mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-01 11:56:48 +01:00
make zoomed avatars detectable by Escape hotkey
This commit is contained in:
parent
2c84c93f3d
commit
9f15e67856
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user