Commit 421404a9 authored by jonnykry's avatar jonnykry Committed by Sam Saccone

React: handle changes only when editing

Fixes #1405
parent 828b6d1c
......@@ -37,7 +37,9 @@ var app = app || {};
},
handleChange: function (event) {
this.setState({editText: event.target.value});
if (this.props.editing) {
this.setState({editText: event.target.value});
}
},
getInitialState: function () {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment