Skip to content

Commit 496f10c

Browse files
(fix) bind this to updateEditorPosition function
1 parent 4ff85a8 commit 496f10c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-jsonpath-editor",
3-
"version": "1.1.0-beta.1",
3+
"version": "1.1.0-beta.2",
44
"description": "react-jsonpath-editor React component",
55
"main": "lib/index.js",
66
"module": "es/index.js",

src/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export default class extends Component {
2424
this.enableBlur = this.controlBlur.bind(this, {isEnable: true})
2525
this.escFunction = this.escFunction.bind(this)
2626
this.onMouseLeaveFromEditor = this.onMouseLeaveFromEditor.bind(this)
27+
this.updateEditorPosition = this.updateEditorPosition.bind(this)
2728

2829
this.state = {
2930
value: props.value || '',

0 commit comments

Comments
 (0)