mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 17:53:08 -07:00
- Hide context menu when a torrent is clicked
This commit is contained in:
parent
3ec118d59b
commit
df03b042d6
1 changed files with 6 additions and 0 deletions
|
@ -56,6 +56,9 @@ var ContextMenu = new Class({
|
|||
this.show();
|
||||
}
|
||||
}.bind(this));
|
||||
t.addEvent('click',function(e) {
|
||||
this.hide();
|
||||
}.bind(this));
|
||||
},
|
||||
|
||||
//get things started
|
||||
|
@ -81,6 +84,9 @@ var ContextMenu = new Class({
|
|||
this.show();
|
||||
}
|
||||
}.bind(this));
|
||||
el.addEvent('click',function(e) {
|
||||
this.hide();
|
||||
}.bind(this));
|
||||
},this);
|
||||
|
||||
/* menu items */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue