Skip to content

Commit

Permalink
Fixed publish button onClick handler
Browse files Browse the repository at this point in the history
  • Loading branch information
DanReyLop committed Dec 19, 2016
1 parent f391bb5 commit 461f27b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions client/post-editor/editor-publish-button/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,13 @@ export class EditorPublishButton extends Component {
needsVerification: PropTypes.bool
};

constructor( props ) {
super( props );

// bound methods
this.onClick = this.onClick.bind( this );
}

trackClick() {
const postEvents = {
update: 'Clicked Update Post Button',
Expand Down

0 comments on commit 461f27b

Please sign in to comment.