mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
#1272 Fix control buttons when expand actions is used
This commit is contained in:
@ -8073,6 +8073,11 @@ jQuery(async function () {
|
|||||||
})
|
})
|
||||||
|
|
||||||
$(document).on("click", function (e) {
|
$(document).on("click", function (e) {
|
||||||
|
// Expanded options don't need to be closed
|
||||||
|
if (power_user.expand_message_actions) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Check if the click was outside the relevant elements
|
// Check if the click was outside the relevant elements
|
||||||
if (!$(e.target).closest('.extraMesButtons, .extraMesButtonsHint').length) {
|
if (!$(e.target).closest('.extraMesButtons, .extraMesButtonsHint').length) {
|
||||||
// Transition out the .extraMesButtons first
|
// Transition out the .extraMesButtons first
|
||||||
|
Reference in New Issue
Block a user