mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 07:27:22 -06:00
- Block browser event for CTRL+A so that it does not select text (unwanted) : Web Ui
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user