From 18b2eb4b224765135772acacc8a8aea13093c985 Mon Sep 17 00:00:00 2001 From: Weedshaker Date: Thu, 22 Aug 2024 16:46:25 +0200 Subject: [PATCH] sub --- src/es/Environment.js | 2 +- src/es/chat | 2 +- src/es/components/organisms/body/Body.js | 5 ++++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/es/Environment.js b/src/es/Environment.js index 5d149d1..b3613df 100644 --- a/src/es/Environment.js +++ b/src/es/Environment.js @@ -9,7 +9,7 @@ self.Environment = { language: currentScriptUrl.searchParams.get('language') || document.documentElement.getAttribute('lang') || 'en', stage: currentScriptUrl.searchParams.get('stage') || document.documentElement.getAttribute('stage') || 'alpha', keepAlive: 86400000, - version: currentScriptUrl.searchParams.get('version') || document.documentElement.getAttribute('version') || '4.2.17', // https://semver.org/ + version: currentScriptUrl.searchParams.get('version') || document.documentElement.getAttribute('version') || '4.2.18', // https://semver.org/ /** * Get custom mobile breakpoint * @param {{constructor?: string, tagName?: string, namespace?: string}} organism diff --git a/src/es/chat b/src/es/chat index 599c189..6190b49 160000 --- a/src/es/chat +++ b/src/es/chat @@ -1 +1 @@ -Subproject commit 599c189fabb813a6d03b91528f98deb4e60cfd55 +Subproject commit 6190b49959151399b71f424e2d2dd49a85fdd81c diff --git a/src/es/components/organisms/body/Body.js b/src/es/components/organisms/body/Body.js index c85755e..cbb55fa 100644 --- a/src/es/components/organisms/body/Body.js +++ b/src/es/components/organisms/body/Body.js @@ -46,7 +46,10 @@ export default class Body extends Shadow() { options.behavior = event.detail?.behavior || 'smooth' this.main.scroll(options) } - this.scrollIconShowEventListener = event => this.setAttribute('scroll-icon-has-show-event', '') + this.scrollIconShowEventListener = event => { + this.setAttribute('scroll-icon-has-show-event', '') + this.scrollEventListener() + } this.aScrollClickEventListener = event => { this.mainScrollEventListener({detail: {behavior: 'instant'}}) setTimeout(() => this.mainScrollEventListener({detail: {behavior: 'smooth'}}), 200)