Skip to content

Commit

Permalink
Fixed that dumb behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
eflynch committed Apr 20, 2016
1 parent 322d331 commit 238333a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/www_main.js
Original file line number Diff line number Diff line change
Expand Up @@ -36956,7 +36956,7 @@ var ContentEditable = React.createClass({
emitChange: function (evt) {
if (!this.htmlEl) return;
var html = this.htmlEl.innerHTML;
if (this.props.onChange && html !== this.state.lastHTML && this.state.lastHTML !== null) {
if (this.props.onChange && html !== this.state.lastHTMLl) {
evt.target = { value: html };
this.props.onChange(evt);
}
Expand Down
2 changes: 1 addition & 1 deletion src/contenteditable.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ var ContentEditable = React.createClass({
emitChange: function(evt) {
if (!this.htmlEl) return;
var html = this.htmlEl.innerHTML;
if (this.props.onChange && html !== this.state.lastHTML && this.state.lastHTML !== null) {
if (this.props.onChange && html !== this.state.lastHTMLl) {
evt.target = { value: html };
this.props.onChange(evt);
}
Expand Down

0 comments on commit 238333a

Please sign in to comment.