g
This commit is contained in:
parent
e3479ef642
commit
650fa74f0e
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ async function MastodonReplylFunction(Name, post) {
|
||||||
if (OtherPost.spoiler_text != "") {
|
if (OtherPost.spoiler_text != "") {
|
||||||
document.getElementsByClassName("PostText")[0].getElementsByName(Name)[0].innerHTML = "WARNING: " + OtherPost.spoiler_text;
|
document.getElementsByClassName("PostText")[0].getElementsByName(Name)[0].innerHTML = "WARNING: " + OtherPost.spoiler_text;
|
||||||
} else {
|
} else {
|
||||||
document.getElementsByClassName("PostText").getElementsByName(Name)[0].innerHTML = OtherPost.content;
|
document.getElementsByClassName("PostText")[0].getElementsByName(Name)[0].innerHTML = OtherPost.content;
|
||||||
if (OtherPost.media_attachments.length != 0) {
|
if (OtherPost.media_attachments.length != 0) {
|
||||||
for (let i of OtherPost.media_attachments) {
|
for (let i of OtherPost.media_attachments) {
|
||||||
ApplyMedia(i, document.getElementsByClassName("Images").getElementsByName(Name)[0]);
|
ApplyMedia(i, document.getElementsByClassName("Images").getElementsByName(Name)[0]);
|
||||||
|
|
Loading…
Add table
Reference in a new issue