mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 22:18:05 -06:00
- Hide context menu when a torrent is clicked
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user