mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-02-04 06:59:59 +00:00
edit-attention browser compatibility and readme typo
This commit is contained in:
committed by
AUTOMATIC1111
parent
f7c787eb7c
commit
a958f9b3fd
@@ -1,5 +1,5 @@
|
||||
addEventListener('keydown', (event) => {
|
||||
let target = event.originalTarget;
|
||||
let target = event.originalTarget || event.composedPath()[0];
|
||||
if (!target.hasAttribute("placeholder")) return;
|
||||
if (!target.placeholder.toLowerCase().includes("prompt")) return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user