allow ContextualMenu to run without background, for tooltips & fix copy
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
e3c455e599
commit
64bcf6fd7e
2 changed files with 16 additions and 12 deletions
|
@ -336,8 +336,8 @@ module.exports = React.createClass({
|
|||
left: x,
|
||||
top: y,
|
||||
message: successful ? _t('Copied!') : _t('Failed to copy'),
|
||||
});
|
||||
e.target.onmouseout = close;
|
||||
}, false);
|
||||
e.target.onmouseleave = close;
|
||||
};
|
||||
p.appendChild(button);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue