Skip to content

Commit

Permalink
fix ctrl+up/down that stopped working
Browse files Browse the repository at this point in the history
  • Loading branch information
AUTOMATIC1111 committed Jan 20, 2023
1 parent 7d3fb5c commit e33cace
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion javascript/edit-attention.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
addEventListener('keydown', (event) => {
let target = event.originalTarget || event.composedPath()[0];
if (!target.matches("#toprow textarea.gr-text-input[placeholder]")) return;
if (!target.matches("[id*='_toprow'] textarea.gr-text-input[placeholder]")) return;
if (! (event.metaKey || event.ctrlKey)) return;


Expand Down

2 comments on commit e33cace

@bl4ckfyr3
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still doesn't work for me :/

@dvigalet3
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Скриншот 21 01 23_07 38 54
Что-то не хочет у меня работать

Please sign in to comment.