aboutsummaryrefslogtreecommitdiff
path: root/javascript/edit-attention.js
diff options
context:
space:
mode:
authorpieresimakp <69743585+pieresimakp@users.noreply.github.com>2023-03-25 23:00:45 +0800
committerpieresimakp <69743585+pieresimakp@users.noreply.github.com>2023-03-25 23:00:45 +0800
commite3b9d0e3e8adfb6214a1eb7acf450574f427ff9d (patch)
treec9c64ad1f926df990fb2ce05c6eec063de195eec /javascript/edit-attention.js
parent771ea212de13711b494b082d8e94e79b17ac9d08 (diff)
parent91ae48fd7e20c60d6374f340cac0939f56d87048 (diff)
Merge branch 'master' into img2img-detect-image-size
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"