mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Allow wand SD gens when LLM not connected
This commit is contained in:
@ -3399,7 +3399,7 @@ async function addSDGenButtons() {
|
|||||||
$(document).on('click touchend', function (e) {
|
$(document).on('click touchend', function (e) {
|
||||||
const target = $(e.target);
|
const target = $(e.target);
|
||||||
if (target.is(dropdown) || target.closest(dropdown).length) return;
|
if (target.is(dropdown) || target.closest(dropdown).length) return;
|
||||||
if ((target.is(button) || target.closest(button).length) && !dropdown.is(':visible') && $('#send_but').is(':visible')) {
|
if ((target.is(button) || target.closest(button).length) && !dropdown.is(':visible')) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
|
||||||
dropdown.fadeIn(animation_duration);
|
dropdown.fadeIn(animation_duration);
|
||||||
|
Reference in New Issue
Block a user