Slon/Static/js/statuses: Fix profile links in boosted statuses
This commit is contained in:
parent
e3a3259bf3
commit
b29eff6123
2 changed files with 2 additions and 2 deletions
|
@ -26,4 +26,4 @@
|
||||||
<script src="https://cdn.jsdelivr.net/npm/dayjs@1/plugin/relativeTime.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/dayjs@1/plugin/relativeTime.js"></script>
|
||||||
<script>dayjs.extend(window.dayjs_plugin_relativeTime)</script>
|
<script>dayjs.extend(window.dayjs_plugin_relativeTime)</script>
|
||||||
<script src=https://error.checksum.fail/js/header.js></script>
|
<script src=https://error.checksum.fail/js/header.js></script>
|
||||||
<script src=https://error.checksum.fail/js/2301238012830821308.js></script>
|
<script src=https://error.checksum.fail/js/1239127390712903.js></script>
|
|
@ -82,7 +82,7 @@ function updateStatuses(user, statuses) {
|
||||||
content.className = "status-content";
|
content.className = "status-content";
|
||||||
let content_html = "";
|
let content_html = "";
|
||||||
if (statuses[i]["reblog"]) {
|
if (statuses[i]["reblog"]) {
|
||||||
content_html += "🚀 " + statuses[i]["reblog"]["account"]["username"] + "<br><a style=\"padding-left:36px\" href=\"" + statuses[i]["reblog"]["remote_actor"] + "\">@" + statuses[i]["reblog"]["account"]["acct"] + "</a><br>";
|
content_html += "🚀 " + statuses[i]["reblog"]["account"]["username"] + "<br><a style=\"padding-left:36px\" href=\"" + statuses[i]["reblog"]["account"]["remote_actor"] + "\">@" + statuses[i]["reblog"]["account"]["acct"] + "</a><br>";
|
||||||
} else {
|
} else {
|
||||||
if (status["visibility"] == "public") {
|
if (status["visibility"] == "public") {
|
||||||
content_html += "<span title=Public>🌎</span> ";
|
content_html += "<span title=Public>🌎</span> ";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue