mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-03-14 00:50:14 -04:00
Make eslint happy.
This commit is contained in:
parent
24dcd7df47
commit
6b8a96f2a9
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue