Fix all newly introduced linting issues

Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
This commit is contained in:
Sheogorath 2018-06-23 21:27:05 +02:00
parent 49db5bc653
commit 8fe26988d1
No known key found for this signature in database
GPG Key ID: 1F05CC3635CDDFFD
1 changed files with 10 additions and 10 deletions

View File

@ -80,7 +80,7 @@ export function insertLink(cm, isImage) {
cm.setSelections(ranges)
} else {
cm.replaceRange(symbol + linkEnd, cursor, cursor)
cm.setCursor({line: cursor.line, ch: cursor.ch + symbol.length + linkend.length})
cm.setCursor({line: cursor.line, ch: cursor.ch + symbol.length + linkEnd.length})
}
}
cm.focus()