make attention edit only work with ctrl as was initially intended
This commit is contained in:
parent
97f0727489
commit
73901c3f01
|
@ -2,6 +2,8 @@ addEventListener('keydown', (event) => {
|
|||
let target = event.originalTarget || event.composedPath()[0];
|
||||
if (!target.hasAttribute("placeholder")) return;
|
||||
if (!target.placeholder.toLowerCase().includes("prompt")) return;
|
||||
if (! (event.metaKey || event.ctrlKey)) return;
|
||||
|
||||
|
||||
let plus = "ArrowUp"
|
||||
let minus = "ArrowDown"
|
||||
|
|
Loading…
Reference in New Issue