diff --git a/src/components/views/context_menus/MessageContextMenu.js b/src/components/views/context_menus/MessageContextMenu.js index 9d06876e7..7786b9bd5 100644 --- a/src/components/views/context_menus/MessageContextMenu.js +++ b/src/components/views/context_menus/MessageContextMenu.js @@ -74,7 +74,7 @@ module.exports = React.createClass({ if (this.props.onFinished) this.props.onFinished(); }, - onLinkClick: function() { + closeMenu: function() { if (this.props.onFinished) this.props.onFinished(); }, @@ -147,7 +147,7 @@ module.exports = React.createClass({ permalinkButton = (
Permalink + target="_blank" rel="noopener" onClick={ this.closeMenu }>Permalink
); @@ -161,8 +161,8 @@ module.exports = React.createClass({ if( typeof(this.props.mxEvent.event.content.external_url) === "string") { externalURLButton = (
- Source URL + Source URL
); }