Commit fcc225e7 authored by Nicolò Maria Mezzopera's avatar Nicolò Maria Mezzopera

Merge branch 'fix-gl-emoji-race-condition' into 'master'

Use connectedCallback to initialize GlEmoji

See merge request gitlab-org/gitlab!44542
parents a60ed7b6 423d79b3
......@@ -3,9 +3,7 @@ import isEmojiUnicodeSupported from '../emoji/support';
import { initEmojiMap, getEmojiInfo, emojiFallbackImageSrc, emojiImageTag } from '../emoji';
class GlEmoji extends HTMLElement {
constructor() {
super();
connectedCallback() {
this.initialize();
}
initialize() {
......
---
title: Fix emoji rendering in certain edge cases
merge_request: 44542
author:
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment