mirror of
https://github.com/discourse/discourse.git
synced 2025-05-25 00:32:52 +08:00
Make eslint happy.
This commit is contained in:
@ -111,7 +111,7 @@ export function selectedText() {
|
|||||||
const $div = $(div);
|
const $div = $(div);
|
||||||
|
|
||||||
// Find all emojis and replace with its title attribute.
|
// 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();
|
$('.clicks', $div).remove();
|
||||||
const text = div.textContent || div.innerText || "";
|
const text = div.textContent || div.innerText || "";
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user