Browse Source

- Hide context menu when a torrent is clicked

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
df03b042d6
  1. 6
      src/webui/scripts/contextmenu.js

6
src/webui/scripts/contextmenu.js

@ -56,6 +56,9 @@ var ContextMenu = new Class({ @@ -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({ @@ -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…
Cancel
Save