mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-12 16:23:07 -07:00
Add Web UI support for escape key
This commit is contained in:
parent
7e98035df5
commit
74a772aafb
11 changed files with 108 additions and 30 deletions
|
@ -824,7 +824,7 @@ function setupCopyEventHandler() {
|
|||
});
|
||||
}
|
||||
|
||||
var keyboardEvents = new Keyboard({
|
||||
new Keyboard({
|
||||
defaultEventType: 'keydown',
|
||||
events: {
|
||||
'ctrl+a': function(event) {
|
||||
|
@ -836,6 +836,4 @@ var keyboardEvents = new Keyboard({
|
|||
event.preventDefault();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
keyboardEvents.activate();
|
||||
}).activate();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue