hiresfix prompt: add classes, update css sel

This commit is contained in:
catboxanon
2023-05-20 19:34:50 +00:00
parent b2b06eee02
commit 373903d851
2 changed files with 6 additions and 6 deletions

View File

@@ -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";