Allow wand SD gens when LLM not connected
This commit is contained in:
parent
32c48cf9fa
commit
f0b13d3172
|
@ -3399,7 +3399,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) || target.closest(button).length) && !dropdown.is(':visible') && $('#send_but').is(':visible')) {
|
||||
if ((target.is(button) || target.closest(button).length) && !dropdown.is(':visible')) {
|
||||
e.preventDefault();
|
||||
|
||||
dropdown.fadeIn(animation_duration);
|
||||
|
|
Loading…
Reference in New Issue