mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -05:00
FIX: 'quote reply' button not showing when an emoji is included.
This commit is contained in:
parent
62ce9938ab
commit
24dcd7df47
1 changed files with 1 additions and 1 deletions
|
@ -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(() => 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 || "";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue