From 58f504e34fe5c37056c4e74ed8204bd0d10cb994 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 28 Oct 2022 15:52:57 +0300 Subject: Merge Jest configuration from Next version --- vnext/src/utils/embed.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vnext/src/utils') diff --git a/vnext/src/utils/embed.js b/vnext/src/utils/embed.js index e1fc28dd..22dacd8b 100644 --- a/vnext/src/utils/embed.js +++ b/vnext/src/utils/embed.js @@ -276,7 +276,7 @@ function getEmbeddableLinkTypes() { className: 'tg compact', re: /https?:\/\/t\.me\/(\S+)/i, makeNode: function(aNode, reResult, div) { - let [url, post] = reResult; + let [post] = reResult; // innerHTML cannot insert scripts, so... let script = document.createElement('script'); script.src = 'https://telegram.org/js/telegram-widget.js?18'; -- cgit v1.2.3