diff --git a/plugins/talk-plugin-featured-comments/client/components/ModTag.js b/plugins/talk-plugin-featured-comments/client/components/ModTag.js index c3cced4f2..70f51dcbc 100644 --- a/plugins/talk-plugin-featured-comments/client/components/ModTag.js +++ b/plugins/talk-plugin-featured-comments/client/components/ModTag.js @@ -29,6 +29,10 @@ export default class ModTag extends React.Component { }); } + openFeaturedDialog = (comment, asset) => { + this.props.openFeaturedDialog(comment, asset); + } + render() { const {alreadyTagged, deleteTag, comment, asset} = this.props; @@ -42,7 +46,7 @@ export default class ModTag extends React.Component { ) : ( this.props.openFeaturedDialog(comment, asset)} > + onClick={() => this.openFeaturedDialog(comment, asset)} > {alreadyTagged ? t('talk-plugin-featured-comments.featured') : t('talk-plugin-featured-comments.feature')}