make eslint happy

This commit is contained in:
Régis Hanol 2017-03-24 01:27:15 +01:00
parent 9f65658c5c
commit 823e50b099
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ export function selectedText() {
// replace emojis
$div.find("img.emoji").replaceWith(function() { return this.title; });
// replace br with newlines
$div.find("br").replaceWith(() => "\n")
$div.find("br").replaceWith(() => "\n");
return String($div.text()).trim();
}