e
This commit is contained in:
parent
8953fe5ad2
commit
b07290ed14
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ async function GetPost() {
|
|||
async function MastodonReplylFunction(id, post) {
|
||||
let OtherPost = await MastodonAPI.GetStatus(post);
|
||||
let ShitHTML = "<header> <h1 id=" + id + " class=\"Handle\"> " + website + "</h1> <h1 id=" + id + " class=\"Origin\"> " + OtherPost.account.acct + "</h1> </header> <p id=" + id + " class=\"PostText\"></p> <div id=" + id + " class=\"Images\"></div> <hr/>";
|
||||
document.getElementsByTagName("body")[0] = ShitHTML + document.getElementsByTagName("body")[0].innerHTML;
|
||||
document.getElementsByTagName("body")[0].innerHTML = ShitHTML + document.getElementsByTagName("body")[0].innerHTML;
|
||||
if (OtherPost.spoiler_text != "") {
|
||||
document.getElementsByClassName("PostText").getElementById(id).innerHTML = "WARNING: " + OtherPost.spoiler_text;
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue