Skip to content

Commit

Permalink
Add docblock to onCopy handler
Browse files Browse the repository at this point in the history
  • Loading branch information
schlessera committed Jan 23, 2018
1 parent 5fdd596 commit 10664fd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions editor/components/post-permalink/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,9 @@ class PostPermalink extends Component {
this.props.onUpdate( newSlug );
}

/**
* Event handler for the copy button to show feedback.
*/
onCopy() {
this.setState( {
showCopyConfirmation: true,
Expand Down

0 comments on commit 10664fd

Please sign in to comment.