mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-09 06:17:58 +00:00
- Hide context menu when a torrent is clicked
This commit is contained in:
parent
3ec118d59b
commit
df03b042d6
@ -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…
Reference in New Issue
Block a user