Skip to content

Commit

Permalink
sub
Browse files Browse the repository at this point in the history
  • Loading branch information
Weedshaker committed Aug 22, 2024
1 parent b88622b commit 18b2eb4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/es/Environment.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/es/chat
5 changes: 4 additions & 1 deletion src/es/components/organisms/body/Body.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 18b2eb4

Please sign in to comment.