mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
World Selector&Editor Combined/Lockable/Swappable
This commit is contained in:
@ -6220,6 +6220,7 @@ $(document).ready(function () {
|
||||
'#shadow_popup',
|
||||
'#world_popup',
|
||||
'.ui-widget',
|
||||
'.text_pole',
|
||||
];
|
||||
for (const id of forbiddenTargets) {
|
||||
if (clickTarget.closest(id).length > 0) {
|
||||
@ -6241,7 +6242,10 @@ $(document).ready(function () {
|
||||
}
|
||||
});
|
||||
|
||||
$(document).on('click', '.inline-drawer-toggle', function () {
|
||||
$(document).on('click', '.inline-drawer-toggle', function (e) {
|
||||
if ($(e.target).hasClass('text_pole')) {
|
||||
return;
|
||||
};
|
||||
var icon = $(this).find('.inline-drawer-icon');
|
||||
icon.toggleClass('down up');
|
||||
icon.toggleClass('fa-circle-chevron-down fa-circle-chevron-up');
|
||||
|
Reference in New Issue
Block a user