From 982d6d38054733cde604be5c3539605599951cde Mon Sep 17 00:00:00 2001 From: Kevin Glowacz Date: Sun, 13 Dec 2009 18:37:36 +0000 Subject: [PATCH] (trunk web) make sure the context menu goes away when click on torrents. Fixes #2660 --- web/javascript/torrent.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web/javascript/torrent.js b/web/javascript/torrent.js index a1e2c354e..70c1253bd 100644 --- a/web/javascript/torrent.js +++ b/web/javascript/torrent.js @@ -239,6 +239,9 @@ Torrent.prototype = // Prevents click carrying to parent element // which deselects all on click event.stopPropagation(); + // but still hide the context menu if it is showing + $('#jqContextMenu').hide(); + var torrent = this; // 'Apple' button emulation on PC :