Make eslint happy.
This commit is contained in:
parent
24dcd7df47
commit
6b8a96f2a9
|
@ -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 || "";
|
||||
|
||||
|
|
Loading…
Reference in New Issue