From b9bceb8e977de93dcdacec31c3f2de3af73760a7 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Sun, 18 Feb 2024 22:54:18 +0300 Subject: // -> https:// --- vnext/src/index.html | 30 +++++++++++++++--------------- vnext/src/ui/Comment.js | 4 ++-- vnext/src/ui/Settings.js | 4 ++-- vnext/src/utils/embed.js | 4 ++-- 4 files changed, 21 insertions(+), 21 deletions(-) (limited to 'vnext') diff --git a/vnext/src/index.html b/vnext/src/index.html index fa4b62a3..72ba3f57 100644 --- a/vnext/src/index.html +++ b/vnext/src/index.html @@ -9,27 +9,27 @@ - + - - - - - - - - - - - - - + + + + + + + + + + + + +
- \ No newline at end of file + diff --git a/vnext/src/ui/Comment.js b/vnext/src/ui/Comment.js index 3a3f4429..90eae699 100644 --- a/vnext/src/ui/Comment.js +++ b/vnext/src/ui/Comment.js @@ -62,8 +62,8 @@ export default function Comment({ msg, draft, active, setActive, onStartEditing, { msg.photo &&
- - + +
} diff --git a/vnext/src/ui/Settings.js b/vnext/src/ui/Settings.js index 82a84be9..fa93edfc 100644 --- a/vnext/src/ui/Settings.js +++ b/vnext/src/ui/Settings.js @@ -228,7 +228,7 @@ export default function Settings({ onChange }) { ) : (

Cross-posting to Facebook: - Connect to Facebook + Connect to Facebook

)} @@ -243,7 +243,7 @@ export default function Settings({ onChange }) { : -

Cross-posting to Twitter: Cross-posting to Twitter: Connect to Twitter

} diff --git a/vnext/src/utils/embed.js b/vnext/src/utils/embed.js index 79674e28..4501168b 100644 --- a/vnext/src/utils/embed.js +++ b/vnext/src/utils/embed.js @@ -223,7 +223,7 @@ function getEmbeddableLinkTypes() { let [, v, args, plist] = reResult let iframeUrl if (plist) { - iframeUrl = '//www.youtube-nocookie.com/embed/videoseries?list=' + plist + iframeUrl = 'https://www.youtube-nocookie.com/embed/videoseries?list=' + plist } else { let pp = {}; args.replace(/^\?/, '') .split('&') @@ -246,7 +246,7 @@ function getEmbeddableLinkTypes() { let argsStr = Object.keys(embedArgs) .map(k => `${k}=${embedArgs[k]}`) .join('&') - iframeUrl = `//www.youtube-nocookie.com/embed/${v}?${argsStr}` + iframeUrl = `https://www.youtube-nocookie.com/embed/${v}?${argsStr}` } let iframe = makeIframe(iframeUrl, '100%', '360px') iframe.onload = () => makeResizableToRatio(iframe, 9.0 / 16.0) -- cgit v1.2.3