Skip to content

Commit

Permalink
Update other customElements.define.
Browse files Browse the repository at this point in the history
  • Loading branch information
ngainsboro-figma committed Jan 9, 2024
1 parent 58ddd98 commit f142052
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions packages/emoji-mart/src/components/Emoji/EmojiElement.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ export default class EmojiElement extends HTMLElement {
}
}

if ('customElements' in window && !customElements.get('em-emoji')) {
customElements.define('em-emoji', EmojiElement)
if ('customElements' in window && !customElements.get('em-emoji-15')) {
customElements.define('em-emoji-15', EmojiElement)
}

0 comments on commit f142052

Please sign in to comment.