Added help tooltip for modifications

This commit is contained in:
Cmdr McDonald
2016-11-16 20:49:22 +00:00
parent 0d3c128059
commit a2f6fb6ac0
2 changed files with 4 additions and 0 deletions

View File

@@ -50,11 +50,13 @@ export default class ModificationsMenu extends TranslatedComponent {
* @return {React.Component} List
*/
render() {
let { language, tooltip, termtip } = this.context;
return (
<div
className={cn('select', this.props.className)}
onClick={(e) => e.stopPropagation() }
onContextMenu={stopCtxPropagation}
onMouseOver={termtip.bind(null, 'HELP_MODIFICATIONS_MENU')} onMouseOut={tooltip.bind(null, null)}
>
{this.state.list}
</div>