mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-25 19:31:51 -08:00
hiresfix prompt: add classes, update css sel
This commit is contained in:
parent
b2b06eee02
commit
373903d851
2 changed files with 6 additions and 6 deletions
|
|
@ -1,6 +1,6 @@
|
|||
function keyupEditAttention(event) {
|
||||
let target = event.originalTarget || event.composedPath()[0];
|
||||
if (!target.matches("[id*='_toprow'] [id*='_prompt'] textarea")) return;
|
||||
if (!target.matches("*:is([id*='_toprow'] [id*='_prompt'], .prompt) textarea")) return;
|
||||
if (!(event.metaKey || event.ctrlKey)) return;
|
||||
|
||||
let isPlus = event.key == "ArrowUp";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue