Skip to content
代码片段 群组 项目
提交 e33cace2 编辑于 作者: AUTOMATIC's avatar AUTOMATIC
浏览文件

fix ctrl+up/down that stopped working

上级 7d3fb5cb
No related branches found
No related tags found
无相关合并请求
addEventListener('keydown', (event) => { addEventListener('keydown', (event) => {
let target = event.originalTarget || event.composedPath()[0]; 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; if (! (event.metaKey || event.ctrlKey)) return;
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册