Skip to content

Commit

Permalink
fixed bug input method.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Jul 4, 2015
1 parent 4a76f20 commit ce536d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions build/MDEditor.min.js
Original file line number Diff line number Diff line change
Expand Up @@ -927,6 +927,7 @@
css(self.preview, {
height: self.textarea.offsetHeight + "px"
});
self.opts.value = this.value;
self.callback(event, self.opts);
});
return this;
Expand Down
1 change: 1 addition & 0 deletions lib/MDEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@
});
}
css(self.preview,{'height':self.textarea.offsetHeight + "px"});
self.opts.value = this.value
self.callback(event,self.opts)
});
return this;
Expand Down

0 comments on commit ce536d8

Please sign in to comment.