mirror of
https://github.com/gedoor/legado.git
synced 2024-07-06 23:47:49 +08:00
web快捷键取消默认过滤INPUT SELECT TEXTAREA
This commit is contained in:
parent
96ef9571e1
commit
2cb7100453
@ -273,6 +273,8 @@ const saveHotKeys = () => {
|
||||
};
|
||||
|
||||
const bindHotKeys = () => {
|
||||
// hotkeys默认过滤INPUT SELECT TEXTAREA
|
||||
hotkeys.filter = () => true;
|
||||
buttons.value.forEach(({ hotKeys, action }) => {
|
||||
if (hotKeys.length == 0) return;
|
||||
hotkeys(hotKeys.join("+"), (event) => {
|
||||
|
Loading…
Reference in New Issue
Block a user