mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-08-03 10:50:23 +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