Slon/Static/js/statuses: Fix profile links in boosted statuses

This commit is contained in:
Alec Murphy 2025-03-21 06:32:08 -04:00
parent e3a3259bf3
commit b29eff6123
2 changed files with 2 additions and 2 deletions

View file

@ -26,4 +26,4 @@
<script src="https://cdn.jsdelivr.net/npm/dayjs@1/plugin/relativeTime.js"></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/2301238012830821308.js></script>
<script src=https://error.checksum.fail/js/1239127390712903.js></script>

View file

@ -82,7 +82,7 @@ function updateStatuses(user, statuses) {
content.className = "status-content";
let content_html = "";
if (statuses[i]["reblog"]) {
content_html += "&#128640; " + 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 += "&#128640; " + 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 {
if (status["visibility"] == "public") {
content_html += "<span title=Public>&#127758;</span> ";