Skip to content

Commit e33cace

Browse files
committed
fix ctrl+up/down that stopped working
1 parent 7d3fb5c commit e33cace

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/edit-attention.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
addEventListener('keydown', (event) => {
22
let target = event.originalTarget || event.composedPath()[0];
3-
if (!target.matches("#toprow textarea.gr-text-input[placeholder]")) return;
3+
if (!target.matches("[id*='_toprow'] textarea.gr-text-input[placeholder]")) return;
44
if (! (event.metaKey || event.ctrlKey)) return;
55

66

0 commit comments

Comments
 (0)