mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 01:33:07 -07:00
- Improved multiple selection style by blocking browser event
This commit is contained in:
parent
eec04761ef
commit
e2c7c973fd
1 changed files with 2 additions and 0 deletions
|
@ -82,6 +82,7 @@ var dynamicTable = new Class ({
|
|||
}.bind(this));
|
||||
}
|
||||
tr.addEvent('click', function(e){
|
||||
e.stop();
|
||||
if(e.control) {
|
||||
// CTRL key was pressed
|
||||
if(this.cur.contains(id)) {
|
||||
|
@ -139,6 +140,7 @@ var dynamicTable = new Class ({
|
|||
this.cur[0] = id;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}.bind(this));
|
||||
|
||||
tr.injectInside(this.table);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue