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({
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…
Cancel
Save