mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 06:28:03 -06:00
Add Web UI support for escape key
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user