1
0
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:
Christophe Dumez 2009-12-06 14:48:16 +00:00
parent 3ec118d59b
commit df03b042d6

View File

@ -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 */