diff options
author | missionfloyd <missionfloyd@users.noreply.github.com> | 2023-03-25 20:51:25 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-25 20:51:25 +0000 |
commit | 6f18c9b13f06112d6afe9be062fe5308767ea38a (patch) | |
tree | d82ea08976ca2b5793f449094308aca3c9629099 /javascript/edit-attention.js | |
parent | 575c17a8f9bc6471a7a0891b665ec42073a18049 (diff) | |
parent | a0d07fb5807ad55c8ccfdfc9a6d9ae3c62b9d211 (diff) | |
download | stable-diffusion-webui-gfx803-6f18c9b13f06112d6afe9be062fe5308767ea38a.tar.gz stable-diffusion-webui-gfx803-6f18c9b13f06112d6afe9be062fe5308767ea38a.tar.bz2 stable-diffusion-webui-gfx803-6f18c9b13f06112d6afe9be062fe5308767ea38a.zip |
Merge branch 'master' into extra-networks-toggle
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"
|