mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
- Block browser event for CTRL+A so that it does not select text (unwanted) : Web Ui
This commit is contained in:
parent
f73256e0ea
commit
eec04761ef
1 changed files with 1 additions and 0 deletions
|
@ -150,6 +150,7 @@ window.addEvent('domready', function(){
|
||||||
|
|
||||||
window.addEvent('keydown', function(event){
|
window.addEvent('keydown', function(event){
|
||||||
if (event.key == 'a' && event.control) {
|
if (event.key == 'a' && event.control) {
|
||||||
|
event.stop();
|
||||||
if($("Tab1").hasClass('active')) {
|
if($("Tab1").hasClass('active')) {
|
||||||
myTable.selectAll();
|
myTable.selectAll();
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue