fix: emoji shortcode selection
This commit is contained in:
parent
af67077ae7
commit
8e88cbbc6f
1 changed files with 2 additions and 1 deletions
|
@ -1153,7 +1153,8 @@ secondary=false) -%}
|
|||
if (
|
||||
use_first_shortcode.includes(
|
||||
event.detail.emoji.annotation,
|
||||
)
|
||||
) ||
|
||||
!event.detail.emoji.shortcodes[1]
|
||||
) {
|
||||
return event.detail.emoji.shortcodes[0];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue