Skip to content

Commit

Permalink
Fix calling of method that has been renamed
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrabarts committed Jun 19, 2015
1 parent ea26cba commit 75ea974
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ var Accordion = React.createClass({
},

close() {
this.state.is_visible && this._toggleAccordion();
this.state.is_visible && this.toggle();
},

open() {
!this.state.is_visible && this._toggleAccordion();
!this.state.is_visible && this.toggle();
},

toggle() {
Expand Down

0 comments on commit 75ea974

Please sign in to comment.