|
|
|
@ -109,15 +109,6 @@ class MemoDetailMDEditor extends Component {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
showEditor() {
|
|
|
|
|
<<<<<<< HEAD
|
|
|
|
|
$("html, body").animate({ scrollTop: $('.commentInput:visible').offset().top - 100 }, 1000, () => {
|
|
|
|
|
if (this.commentMDEditor) {
|
|
|
|
|
this.commentMDEditor.cm.focus()
|
|
|
|
|
} else {
|
|
|
|
|
this.onMockInputClick()
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
=======
|
|
|
|
|
// $("html, body").animate({ scrollTop: $('.commentInput:visible').offset().top - 100 }, 1000, () => {
|
|
|
|
|
// if (this.commentMDEditor) {
|
|
|
|
|
// this.commentMDEditor.cm.focus()
|
|
|
|
@ -125,7 +116,6 @@ class MemoDetailMDEditor extends Component {
|
|
|
|
|
// this.onMockInputClick()
|
|
|
|
|
// }
|
|
|
|
|
// });
|
|
|
|
|
>>>>>>> f8dfb5f... 调整
|
|
|
|
|
}
|
|
|
|
|
close = () => {
|
|
|
|
|
this.setState({ isInited: false })
|
|
|
|
|