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

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()