From bb6f239075f100b54879b1ddc742bb8cc69c689b Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Fri, 31 Mar 2023 18:04:21 +0200 Subject: [PATCH] fix(core): update --- ts/00_commitinfo_data.ts | 2 +- ts_web/00_commitinfo_data.ts | 2 +- ts_web/typedserver_web.infoscreen.ts | 7 +++++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 093fa1d..ada545e 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@apiglobal/typedserver', - version: '2.0.47', + version: '2.0.48', description: 'easy serving of static files' } diff --git a/ts_web/00_commitinfo_data.ts b/ts_web/00_commitinfo_data.ts index 093fa1d..ada545e 100644 --- a/ts_web/00_commitinfo_data.ts +++ b/ts_web/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@apiglobal/typedserver', - version: '2.0.47', + version: '2.0.48', description: 'easy serving of static files' } diff --git a/ts_web/typedserver_web.infoscreen.ts b/ts_web/typedserver_web.infoscreen.ts index 8f0ae79..934a475 100644 --- a/ts_web/typedserver_web.infoscreen.ts +++ b/ts_web/typedserver_web.infoscreen.ts @@ -95,10 +95,13 @@ export class TypedserverInfoscreen extends LitElement { public async hide() { this.text = ''; - const mainbox = this.shadowRoot.querySelector('.mainbox'); - mainbox.classList.add('show'); + if (this.appended) { + const mainbox = this.shadowRoot.querySelector('.mainbox'); + mainbox.classList.remove('show'); + } await plugins.smartdelay.delayFor(300); if (this.appended) { + this.appended = false; document.body.removeChild(this); } }