Make eslint happy.

This commit is contained in:
Guo Xiang Tan 2016-09-21 11:45:17 +08:00
parent 24dcd7df47
commit 6b8a96f2a9
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ export function selectedText() {
const $div = $(div);
// Find all emojis and replace with its title attribute.
$div.find('img.emoji').replaceWith(function() { return this.title });
$div.find('img.emoji').replaceWith(function() { return this.title; });
$('.clicks', $div).remove();
const text = div.textContent || div.innerText || "";