mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-14 02:27:09 -07:00
WebUI: Support Cmd key on macOS
This commit is contained in:
parent
0375796a80
commit
ee7aa5b31b
1 changed files with 1 additions and 1 deletions
|
@ -1755,7 +1755,7 @@ window.addEventListener("DOMContentLoaded", (event) => {
|
|||
switch (event.key) {
|
||||
case "a":
|
||||
case "A":
|
||||
if (event.ctrlKey) {
|
||||
if (event.ctrlKey || event.metaKey) {
|
||||
if ((event.target.nodeName === "INPUT") || (event.target.nodeName === "TEXTAREA"))
|
||||
return;
|
||||
if (event.target.isContentEditable)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue