From ec9f8ba004d7355e2fabd4f99794a5dbb8833a87 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Fri, 25 Sep 2020 19:34:53 -0700 Subject: [PATCH] Stop using skypack CDN for emoji button and bump version. Address #141 --- webroot/index.html | 2 +- webroot/js/components/chat/chat-input.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/webroot/index.html b/webroot/index.html index b549b81e8..04eb34aba 100644 --- a/webroot/index.html +++ b/webroot/index.html @@ -42,7 +42,7 @@ - + diff --git a/webroot/js/components/chat/chat-input.js b/webroot/js/components/chat/chat-input.js index 01900af6b..5b9725205 100644 --- a/webroot/js/components/chat/chat-input.js +++ b/webroot/js/components/chat/chat-input.js @@ -2,7 +2,7 @@ import { h, Component, createRef } from 'https://unpkg.com/preact?module'; import htm from 'https://unpkg.com/htm?module'; const html = htm.bind(h); -import { EmojiButton } from 'https://cdn.skypack.dev/pin/@joeattardi/emoji-button@v4.1.0-v8psdkkxts3LNdpA0m5Q/min/@joeattardi/emoji-button.js'; +import { EmojiButton } from 'https://unpkg.com/@joeattardi/emoji-button@4.2.0/dist/index.js'; import ContentEditable, { replaceCaret } from './content-editable.js'; import { generatePlaceholderText, getCaretPosition, convertToText, convertOnPaste } from '../../utils/chat.js'; import { getLocalStorage, setLocalStorage, classNames } from '../../utils/helpers.js';