mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-24 21:44:25 +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();
|
this.show();
|
||||||
}
|
}
|
||||||
}.bind(this));
|
}.bind(this));
|
||||||
|
t.addEvent('click',function(e) {
|
||||||
|
this.hide();
|
||||||
|
}.bind(this));
|
||||||
},
|
},
|
||||||
|
|
||||||
//get things started
|
//get things started
|
||||||
@ -81,6 +84,9 @@ var ContextMenu = new Class({
|
|||||||
this.show();
|
this.show();
|
||||||
}
|
}
|
||||||
}.bind(this));
|
}.bind(this));
|
||||||
|
el.addEvent('click',function(e) {
|
||||||
|
this.hide();
|
||||||
|
}.bind(this));
|
||||||
},this);
|
},this);
|
||||||
|
|
||||||
/* menu items */
|
/* menu items */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user