diff --git a/src/components/status.css b/src/components/status.css index 2a8015ca..b202f8ac 100644 --- a/src/components/status.css +++ b/src/components/status.css @@ -78,7 +78,6 @@ } .status-card-link { - display: inline-block; text-decoration: none; color: var(--text-color); } diff --git a/src/components/status.jsx b/src/components/status.jsx index 06d03400..5a784102 100644 --- a/src/components/status.jsx +++ b/src/components/status.jsx @@ -951,7 +951,6 @@ function Status({ unfurlMastodonLink(currentInstance, a.href).then( (result) => { if (!result) return; - console.log('TAG', result); a.removeAttribute('target'); if (!Array.isArray(states.statusQuotes[sKey])) { states.statusQuotes[sKey] = []; @@ -1069,7 +1068,8 @@ function Status({ !sensitive && !spoilerText && !poll && - !mediaAttachments.length && ( + !mediaAttachments.length && + !snapStates.statusQuotes[sKey] && ( )} @@ -1765,7 +1765,11 @@ function _unfurlMastodonLink(instance, url) { // Silently fail }); - return Promise.any([remoteInstanceFetch, mastoSearchFetch]); + if (remoteInstanceFetch) { + return Promise.any([remoteInstanceFetch, mastoSearchFetch]); + } else { + return mastoSearchFetch; + } } function nicePostURL(url) {