mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-02-04 03:25:14 +00:00
Fix Javascript syntax issue
This commit is contained in:
parent
3406ac725b
commit
7e2ea8d1fc
1 changed files with 1 additions and 1 deletions
|
|
@ -105,7 +105,7 @@ export function normalizeStatus(status, normalOldStatus) {
|
|||
normalStatus.url = null;
|
||||
}
|
||||
|
||||
normalStatus.url ||= normalStatus.uri;
|
||||
normalStatus.url = normalStatus.url || normalStatus.uri;
|
||||
|
||||
normalStatus.media_attachments.forEach(item => {
|
||||
if (item.remote_url && !(item.remote_url.startsWith('http://') || item.remote_url.startsWith('https://')))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue