mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -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();
|
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…
Add table
Add a link
Reference in a new issue