mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-07 05:31:25 -07:00
Add WebUI support for triggering context menus on mobile
This commit is contained in:
parent
f441d561a2
commit
6af01cfcbe
2 changed files with 24 additions and 1 deletions
|
@ -706,6 +706,13 @@ var DynamicTable = new Class({
|
|||
}
|
||||
return false;
|
||||
});
|
||||
tr.addEvent('touchstart', function(e) {
|
||||
if (!this._this.isRowSelected(this.rowId)) {
|
||||
this._this.deselectAll();
|
||||
this._this.selectRow(this.rowId);
|
||||
}
|
||||
return false;
|
||||
});
|
||||
|
||||
this.setupTr(tr);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue