Skip to content

Commit

Permalink
Merge pull request hackerwins#9 from ookami-kb/patch-1
Browse files Browse the repository at this point in the history
Update Summernote.jsx
  • Loading branch information
i-kitaev authored Sep 25, 2016
2 parents 95c0c53 + c1f6b0d commit 91a5bba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Summernote.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class ReactSummernote extends React.Component {
}

componentDidMount() {
const options = this.props.options;
const options = this.props.options || {};
options.callbacks = this.callbacks;

this.editor = $(`#${this.uid}`);
Expand Down

0 comments on commit 91a5bba

Please sign in to comment.