mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 01:03:08 -07:00
Add WebUI support for Mac ⌘ (Command) key
The Command key will now be recognized for WebUI Table multi-selection, as Ctrl is.
This commit is contained in:
parent
091ad6103e
commit
232f0f4b0b
1 changed files with 2 additions and 2 deletions
|
@ -648,8 +648,8 @@ var DynamicTable = new Class({
|
||||||
});
|
});
|
||||||
tr.addEvent('click', function(e) {
|
tr.addEvent('click', function(e) {
|
||||||
e.stop();
|
e.stop();
|
||||||
if (e.control) {
|
if (e.control || e.meta) {
|
||||||
// CTRL key was pressed
|
// CTRL/CMD ⌘ key was pressed
|
||||||
if (this._this.isRowSelected(this.rowId))
|
if (this._this.isRowSelected(this.rowId))
|
||||||
this._this.deselectRow(this.rowId);
|
this._this.deselectRow(this.rowId);
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue