aboutsummaryrefslogtreecommitdiffstats
path: root/javascript/edit-attention.js
diff options
context:
space:
mode:
authorspace-nuko <24979496+space-nuko@users.noreply.github.com>2023-03-27 21:26:23 +0000
committerGitHub <noreply@github.com>2023-03-27 21:26:23 +0000
commit082613036aa7b9a8a008384b1770046d6714bc28 (patch)
treea14ceb8cc54e7359058376ff6eb05bc3471f5e67 /javascript/edit-attention.js
parentd86beb822832c9162714cf0a3567ad087839a2ac (diff)
parent955df7751eef11bb7697e2d77f6b8a6226b21e13 (diff)
downloadstable-diffusion-webui-gfx803-082613036aa7b9a8a008384b1770046d6714bc28.tar.gz
stable-diffusion-webui-gfx803-082613036aa7b9a8a008384b1770046d6714bc28.tar.bz2
stable-diffusion-webui-gfx803-082613036aa7b9a8a008384b1770046d6714bc28.zip
Merge branch 'master' into remove-watermark-option
Diffstat (limited to 'javascript/edit-attention.js')
-rw-r--r--javascript/edit-attention.js2
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"