mirror of
https://github.com/transmission/transmission
synced 2024-12-23 08:13:27 +00:00
(trunk web) make sure the context menu goes away when click on torrents. Fixes #2660
This commit is contained in:
parent
485b64a5e3
commit
982d6d3805
1 changed files with 3 additions and 0 deletions
|
@ -239,6 +239,9 @@ Torrent.prototype =
|
||||||
// Prevents click carrying to parent element
|
// Prevents click carrying to parent element
|
||||||
// which deselects all on click
|
// which deselects all on click
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
|
// but still hide the context menu if it is showing
|
||||||
|
$('#jqContextMenu').hide();
|
||||||
|
|
||||||
var torrent = this;
|
var torrent = this;
|
||||||
|
|
||||||
// 'Apple' button emulation on PC :
|
// 'Apple' button emulation on PC :
|
||||||
|
|
Loading…
Reference in a new issue