mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-09 00:28:52 +01:00
Fix SD wand entry not always being clickable
This commit is contained in:
parent
7d46ca212b
commit
d84fef0478
@ -3396,7 +3396,7 @@ async function addSDGenButtons() {
|
||||
$(document).on('click touchend', function (e) {
|
||||
const target = $(e.target);
|
||||
if (target.is(dropdown) || target.closest(dropdown).length) return;
|
||||
if (target.is(button) && !dropdown.is(':visible') && $('#send_but').is(':visible')) {
|
||||
if ((target.is(button) || target.closest(button).length) && !dropdown.is(':visible') && $('#send_but').is(':visible')) {
|
||||
e.preventDefault();
|
||||
|
||||
dropdown.fadeIn(animation_duration);
|
||||
|
Loading…
x
Reference in New Issue
Block a user