cleanup
This commit is contained in:
parent
df48a500b1
commit
5012bc5a82
9 changed files with 7 additions and 5 deletions
|
@ -54,6 +54,7 @@
|
|||
|
||||
html {
|
||||
overflow-x: hidden;
|
||||
overflow-y: hidden;
|
||||
}
|
||||
|
||||
/* Classes for the warning section*/
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
<head>
|
||||
<title>The Fediverse</title>
|
||||
<meta name="description" content="Change the fucking channel already!">
|
||||
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1" />
|
||||
<link rel="icon" href="../Icons/favicon.ico" />
|
||||
<link rel="stylesheet" href="../CSS/expanded.css">
|
||||
<script type="module" src="../JS/expanded.js"></script>
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
<head>
|
||||
<title>The Fediverse</title>
|
||||
<meta name="description" content="Change the fucking channel already!">
|
||||
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1" />
|
||||
<link rel="icon" href="../Icons/favicon.ico" />
|
||||
<link rel="stylesheet" href="../CSS/mail.css">
|
||||
<script type="module" src="../JS/mail.js"></script>
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
<head>
|
||||
<title>The Fediverse</title>
|
||||
<meta name="description" content="Change the fucking channel already!">
|
||||
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1" />
|
||||
<link rel="icon" href="../Icons/favicon.ico" />
|
||||
<link rel="stylesheet" href="../CSS/post.css">
|
||||
<script type="module" src="../JS/post.js"></script>
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
<head>
|
||||
<title>The Fediverse</title>
|
||||
<meta name="description" content="Change the fucking channel already!">
|
||||
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1" />
|
||||
<link rel="icon" href="../Icons/favicon.ico" />
|
||||
<link rel="stylesheet" href="../CSS/setting.css">
|
||||
<script type="module" src="../JS/setting.js"></script>
|
||||
|
|
|
@ -104,7 +104,6 @@ export async function CreateStatus(Text, Visibility = "public") {
|
|||
// This is in case you went over the characters.
|
||||
if (status == 422) {
|
||||
let matches = body.error.match(/(\d+)/);
|
||||
console.log(matches);
|
||||
request = fetch(Website + "/api/v1/statuses?status=" + Text.slice(0, matches[0] - 1) + "&visibility=" + Visibility, {method: "POST", headers: {"Authorization": localStorage.getItem(Variables.MastodonTokenType) + " " + localStorage.getItem(Variables.MastodonAccessToken)}});
|
||||
body = await request.then((response) => response.json());
|
||||
await CreateReplyStatus(Text.slice(matches[0] - 1, Text.length - 1), Visibility, body.id);
|
||||
|
|
|
@ -32,7 +32,7 @@ Boost.onclick = (event) => {
|
|||
if (website == "Mastodon") {
|
||||
MastodonAPI.SendReblog(post.id, post.reblogged);
|
||||
} else if (website == "Bluesky") {
|
||||
console.log(BlueskyAPI.SendRepost(localStorage.getItem(Variables.BlueskyDID), post.post.uri, post.post.cid));
|
||||
BlueskyAPI.SendRepost(localStorage.getItem(Variables.BlueskyDID), post.post.uri, post.post.cid);
|
||||
}
|
||||
SetBoost();
|
||||
}
|
||||
|
|
|
@ -164,9 +164,6 @@ async function PosterContainerUpdate(Direction) {
|
|||
CurrentThing = CurrentThing - Lim;
|
||||
}
|
||||
}
|
||||
// Debugging
|
||||
console.log(MastodonLoadedFeed);
|
||||
console.log(BlueskyLoadedFeed);
|
||||
// The first one is for counting.
|
||||
// The countergroup increments to another timeline once posts hit the "limit".
|
||||
let counter = 0;
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
<head>
|
||||
<title>The Fediverse</title>
|
||||
<meta name="description" content="Change the fucking channel already!">
|
||||
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1" />
|
||||
<link rel="icon" href="./Icons/favicon.ico" />
|
||||
<link rel="stylesheet" href="./CSS/index.css">
|
||||
<!-- I am terribly sorry.
|
||||
|
|
Loading…
Add table
Reference in a new issue