diff options
author | AUTOMATIC <16777216c@gmail.com> | 2023-03-21 03:49:19 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2023-03-21 03:49:19 +0000 |
commit | 46482decd5ec7c15811e1db5f992b0f616472cfe (patch) | |
tree | 71abb7ac1b22bc87016de586543137a4c06a2239 /javascript/edit-attention.js | |
parent | 8ea8e712c43e493a9c96dcec7dfbc036a8630c97 (diff) | |
download | stable-diffusion-webui-gfx803-46482decd5ec7c15811e1db5f992b0f616472cfe.tar.gz stable-diffusion-webui-gfx803-46482decd5ec7c15811e1db5f992b0f616472cfe.tar.bz2 stable-diffusion-webui-gfx803-46482decd5ec7c15811e1db5f992b0f616472cfe.zip |
fix ctrl+up/down attention edit
fix dropdown obscured by live preview
stylistic changes
Diffstat (limited to 'javascript/edit-attention.js')
-rw-r--r-- | javascript/edit-attention.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/javascript/edit-attention.js b/javascript/edit-attention.js index 619bb1fa..20a5aadf 100644 --- a/javascript/edit-attention.js +++ b/javascript/edit-attention.js @@ -1,6 +1,6 @@ function keyupEditAttention(event){
let target = event.originalTarget || event.composedPath()[0];
- if (!target.matches("[id*='_toprow'] textarea.gr-text-input[placeholder]")) return;
+ if (! target.matches("[id*='_toprow'] [id*='_prompt'] textarea")) return;
if (! (event.metaKey || event.ctrlKey)) return;
let isPlus = event.key == "ArrowUp"
|