mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 03:34:40 +00:00
fixes
This commit is contained in:
@@ -4,7 +4,7 @@ import stringToHTML from "./stringToHTML";
|
|||||||
|
|
||||||
export async function DeleteWhatsNew() {
|
export async function DeleteWhatsNew() {
|
||||||
const bkelement = document.getElementById("whatsnewbk");
|
const bkelement = document.getElementById("whatsnewbk");
|
||||||
const popup = document.getElementsByClassName("whatsnewContainer")[0];
|
const popup = document.querySelector(".whatsnewContainer") as HTMLElement;
|
||||||
|
|
||||||
if (!settingsState.animations) {
|
if (!settingsState.animations) {
|
||||||
bkelement?.remove();
|
bkelement?.remove();
|
||||||
@@ -121,12 +121,7 @@ export function OpenMinecraftServerPopup() {
|
|||||||
let exitbutton = document.createElement("div");
|
let exitbutton = document.createElement("div");
|
||||||
exitbutton.id = "whatsnewclosebutton";
|
exitbutton.id = "whatsnewclosebutton";
|
||||||
|
|
||||||
container.append(header);
|
container.append(header, imagecont, text as HTMLElement, footer as HTMLElement, exitbutton);
|
||||||
container.append(imagecont);
|
|
||||||
container.append(textcontainer);
|
|
||||||
container.append(text as HTMLElement);
|
|
||||||
container.append(footer as HTMLElement);
|
|
||||||
container.append(exitbutton);
|
|
||||||
|
|
||||||
background.append(container);
|
background.append(container);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user