mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Add ability to maximize floating drawers (logprobs, A/N, CFG)
This commit is contained in:
@@ -9790,6 +9790,12 @@ jQuery(async function () {
|
||||
});
|
||||
});
|
||||
|
||||
$(document).on('click', '.inline-drawer-maximize', function () {
|
||||
const icon = $(this).find('.inline-drawer-icon, .floating_panel_maximize');
|
||||
icon.toggleClass('fa-window-maximize fa-window-restore');
|
||||
$(this).closest('.drawer-content').toggleClass('maximized');
|
||||
});
|
||||
|
||||
$(document).on('click', '.mes .avatar', function () {
|
||||
const messageElement = $(this).closest('.mes');
|
||||
const thumbURL = $(this).children('img').attr('src');
|
||||
|
Reference in New Issue
Block a user