make gulp better for static
This commit is contained in:
@@ -2117,17 +2117,16 @@ class Localuser {
|
||||
});
|
||||
}
|
||||
}
|
||||
{
|
||||
(async () => {
|
||||
const jankInfo = settings.addButton(I18n.jankInfo());
|
||||
const img = document.createElement("img");
|
||||
img.src = "/logo.svg";
|
||||
jankInfo.addHTMLArea(img);
|
||||
img.width = 128;
|
||||
img.height = 128;
|
||||
jankInfo.addMDText(
|
||||
I18n.clientDesc("Jank-Rolling", window.location.origin, this.rights.allow + ""),
|
||||
);
|
||||
}
|
||||
const ver = await (await fetch("/getupdates")).text();
|
||||
jankInfo.addMDText(I18n.clientDesc(ver, window.location.origin, this.rights.allow + ""));
|
||||
})();
|
||||
settings.show();
|
||||
}
|
||||
readonly botTokens: Map<string, string> = new Map();
|
||||
|
Reference in New Issue
Block a user