Skip to content

Commit 3679fbe

Browse files
committed
fix lint errors
1 parent b1d2c25 commit 3679fbe

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

browser/components/MarkdownEditor.js

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -225,21 +225,21 @@ class MarkdownEditor extends React.Component {
225225
const { storageKey, noteKey } = this.props
226226

227227
this.setState({
228-
status: 'CODE'
229-
}, () => {
230-
this.refs.code.focus()
228+
status: 'CODE'
229+
}, () => {
230+
this.refs.code.focus()
231231

232-
this.refs.code.editor.execCommand('goDocEnd')
233-
this.refs.code.editor.execCommand('goLineEnd')
234-
this.refs.code.editor.execCommand('newlineAndIndent')
232+
this.refs.code.editor.execCommand('goDocEnd')
233+
this.refs.code.editor.execCommand('goLineEnd')
234+
this.refs.code.editor.execCommand('newlineAndIndent')
235235

236-
attachmentManagement.handleAttachmentDrop(
237-
this.refs.code,
238-
storageKey,
239-
noteKey,
240-
dropEvent
241-
)
242-
})
236+
attachmentManagement.handleAttachmentDrop(
237+
this.refs.code,
238+
storageKey,
239+
noteKey,
240+
dropEvent
241+
)
242+
})
243243
}
244244

245245
handleKeyUp (e) {

0 commit comments

Comments
 (0)