Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
marekhrabe committed Oct 12, 2016
1 parent c1eadfb commit f1d1bcc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/components/site-selector/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,11 @@ const SiteSelector = React.createClass( {

componentDidUpdate( prevProps, prevState ) {
if ( this.state.isKeyboardEngaged && prevState.highlightedIndex !== this.state.highlightedIndex ) {
this.scrollToHightlightedSite();
this.scrollToHighlightedSite();
}
},

scrollToHightlightedSite() {
scrollToHighlightedSite() {
const selectorElement = ReactDom.findDOMNode( this.refs.selector );
if ( selectorElement ) {
const highlightedSiteElement = ReactDom.findDOMNode( this.refs.highlightedSite );
Expand Down

0 comments on commit f1d1bcc

Please sign in to comment.