Bind onClick event handler for marketing kb article click (https://github.com/woocommerce/woocommerce-admin/pull/4437)
This commit is contained in:
parent
96a4856940
commit
308a14ff38
|
@ -74,7 +74,7 @@ class KnowledgeBase extends Component {
|
|||
className="woocommerce-marketing-knowledgebase-card__post"
|
||||
href={ post.link }
|
||||
key={ index }
|
||||
onClick={ this.onPostClick( this, post ) }
|
||||
onClick={ this.onPostClick.bind( this, post ) }
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
|
|
Loading…
Reference in New Issue