Compare commits

..

2 commits

Author SHA1 Message Date
ace2b8a3d0 odd fucking stuff 2025-07-20 18:49:56 -07:00
090ca86f3e Better way of checking tags 2025-07-20 18:44:01 -07:00
2 changed files with 11 additions and 11 deletions

View file

@ -162,7 +162,7 @@ async function PosterContainerUpdate(Direction) {
// Mastodon gaining of timeline.
if (localStorage.getItem(Variables.MastodonWebsite) == null) {
console.log("No Mastodon instance. multiplying mastodon posts by 2...");
console.log("No Mastodon instance. multiplying posts by 2...");
Lim = Lim * 2;
Mastodon = false;
} else if (MastodonLoadedFeed == 0) {
@ -179,7 +179,7 @@ async function PosterContainerUpdate(Direction) {
}
// Bluesky gaining of timeline.
if (localStorage.getItem(Variables.BlueskyPDS) == null) {
console.log("No Bluesky instance. multiplying mastodon posts by 2...");
console.log("No Bluesky instance. multiplying posts by 2...");
Lim = Lim * 2;
Bluesky = false;
} else if (BlueskyLoadedFeed.length == 0) {

View file

@ -36,17 +36,17 @@ async function Post() {
// Adding tags
let TempText = Text;
let Tags = TagsInputArea.value.split(";");
if (Tags.length >= 1) {
if (Tags[0] != "") {
TempText += "<br/><br/>";
}
for (let i of Tags) {
while (i[0] == " ") {
i = i.substring(1, i.length);
for (let i of Tags) {
while (i[0] == " ") {
i = i.substring(1, i.length);
}
if (i[0] != "#" && i.length != 0) {
i = "#" + i;
}
TempText += i + " ";
}
if (i[0] != "#" && i.length != 0) {
i = "#" + i;
}
TempText += i + " ";
}
switch(Visible) {
case "Public":