Skip to content

Commit

Permalink
onLoad should return the split editor
Browse files Browse the repository at this point in the history
  • Loading branch information
securingsincity committed May 28, 2017
1 parent 3ce5144 commit caab126
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/split.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export default class SplitComponent extends Component {
sp.setOrientation( this.props.orientation === 'below' ? sp.BELOW : sp.BESIDE);
sp.resize(true)
if (onLoad) {
onLoad(this.editor);
onLoad(sp);
}
}

Expand Down

0 comments on commit caab126

Please sign in to comment.