From 678d2db14072b5928ae862b3f7879c55a3aeae7b Mon Sep 17 00:00:00 2001 From: Jens Kuerschner Date: Mon, 18 Sep 2023 20:57:31 +0200 Subject: [PATCH 1/2] fix --- src/atcb-init.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/atcb-init.js b/src/atcb-init.js index 62e202b1..2fc1e846 100644 --- a/src/atcb-init.js +++ b/src/atcb-init.js @@ -530,13 +530,13 @@ function atcb_action(data, triggerElement, keyboardTrigger = false) { elem.innerHTML = template; host.shadowRoot.append(elem.content.cloneNode(true)); const rootObj = host.shadowRoot.querySelector('.atcb-initialized'); - atcb_setup_state_management(data); atcb_set_light_mode(host.shadowRoot, data); host.shadowRoot.querySelector('.atcb-initialized').setAttribute('lang', data.language); atcb_load_css(host.shadowRoot, rootObj, data.buttonStyle, false, false, data.customCss); // set global event listeners atcb_set_global_event_listener(host.shadowRoot, data); } + atcb_setup_state_management(data); // if all is fine, ... // trigger link at the oneoption case, or ... if (oneOption) { From 61a644d701789330cd7be30b5ff3a416346f8c68 Mon Sep 17 00:00:00 2001 From: Jens Kuerschner Date: Mon, 18 Sep 2023 21:29:30 +0200 Subject: [PATCH 2/2] patch --- assets/css/atcb-3d.css | 2 +- assets/css/atcb-date.css | 2 +- assets/css/atcb-flat.css | 2 +- assets/css/atcb-neumorphism.css | 2 +- assets/css/atcb-round.css | 2 +- assets/css/atcb-text.css | 2 +- assets/css/atcb.css | 2 +- demo/components/footer.vue | 2 +- demo/public/atcb.css | 2 +- package-lock.json | 4 ++-- package.json | 2 +- src/atcb-control.js | 2 +- src/atcb-decorate.js | 2 +- src/atcb-event.js | 2 +- src/atcb-generate-rich-data.js | 2 +- src/atcb-generate.js | 2 +- src/atcb-globals.js | 4 ++-- src/atcb-i18n.js | 2 +- src/atcb-init.js | 2 +- src/atcb-links.js | 2 +- src/atcb-util.js | 2 +- src/atcb-validate.js | 2 +- 22 files changed, 24 insertions(+), 24 deletions(-) diff --git a/assets/css/atcb-3d.css b/assets/css/atcb-3d.css index 29cfc204..9eac53a0 100644 --- a/assets/css/atcb-3d.css +++ b/assets/css/atcb-3d.css @@ -5,7 +5,7 @@ * * Style: 3D * - * Version: 2.4.2 + * Version: 2.4.3 * Creator: Jens Kuerschner (https://jenskuerschner.de) * Project: https://github.com/add2cal/add-to-calendar-button * License: Elastic License 2.0 (ELv2) (https://github.com/add2cal/add-to-calendar-button/blob/main/LICENSE.txt) diff --git a/assets/css/atcb-date.css b/assets/css/atcb-date.css index 3f44ffb3..5f84788b 100644 --- a/assets/css/atcb-date.css +++ b/assets/css/atcb-date.css @@ -5,7 +5,7 @@ * * Style: Date * - * Version: 2.4.2 + * Version: 2.4.3 * Creator: Jens Kuerschner (https://jenskuerschner.de) * Project: https://github.com/add2cal/add-to-calendar-button * License: Elastic License 2.0 (ELv2) (https://github.com/add2cal/add-to-calendar-button/blob/main/LICENSE.txt) diff --git a/assets/css/atcb-flat.css b/assets/css/atcb-flat.css index 026a0165..f4171767 100644 --- a/assets/css/atcb-flat.css +++ b/assets/css/atcb-flat.css @@ -5,7 +5,7 @@ * * Style: Flat * - * Version: 2.4.2 + * Version: 2.4.3 * Creator: Jens Kuerschner (https://jenskuerschner.de) * Project: https://github.com/add2cal/add-to-calendar-button * License: Elastic License 2.0 (ELv2) (https://github.com/add2cal/add-to-calendar-button/blob/main/LICENSE.txt) diff --git a/assets/css/atcb-neumorphism.css b/assets/css/atcb-neumorphism.css index f0065ccd..3812fb27 100644 --- a/assets/css/atcb-neumorphism.css +++ b/assets/css/atcb-neumorphism.css @@ -5,7 +5,7 @@ * * Style: Neumorphism * - * Version: 2.4.2 + * Version: 2.4.3 * Creator: Jens Kuerschner (https://jenskuerschner.de) * Project: https://github.com/add2cal/add-to-calendar-button * License: Elastic License 2.0 (ELv2) (https://github.com/add2cal/add-to-calendar-button/blob/main/LICENSE.txt) diff --git a/assets/css/atcb-round.css b/assets/css/atcb-round.css index c34f00f4..66fcb3f8 100644 --- a/assets/css/atcb-round.css +++ b/assets/css/atcb-round.css @@ -5,7 +5,7 @@ * * Style: Round * - * Version: 2.4.2 + * Version: 2.4.3 * Creator: Jens Kuerschner (https://jenskuerschner.de) * Project: https://github.com/add2cal/add-to-calendar-button * License: Elastic License 2.0 (ELv2) (https://github.com/add2cal/add-to-calendar-button/blob/main/LICENSE.txt) diff --git a/assets/css/atcb-text.css b/assets/css/atcb-text.css index 8e515143..190aff18 100644 --- a/assets/css/atcb-text.css +++ b/assets/css/atcb-text.css @@ -5,7 +5,7 @@ * * Style: Text * - * Version: 2.4.2 + * Version: 2.4.3 * Creator: Jens Kuerschner (https://jenskuerschner.de) * Project: https://github.com/add2cal/add-to-calendar-button * License: Elastic License 2.0 (ELv2) (https://github.com/add2cal/add-to-calendar-button/blob/main/LICENSE.txt) diff --git a/assets/css/atcb.css b/assets/css/atcb.css index ce98ecec..0588462b 100644 --- a/assets/css/atcb.css +++ b/assets/css/atcb.css @@ -5,7 +5,7 @@ * * Style: Default * - * Version: 2.4.2 + * Version: 2.4.3 * Creator: Jens Kuerschner (https://jenskuerschner.de) * Project: https://github.com/add2cal/add-to-calendar-button * License: Elastic License 2.0 (ELv2) (https://github.com/add2cal/add-to-calendar-button/blob/main/LICENSE.txt) diff --git a/demo/components/footer.vue b/demo/components/footer.vue index 58b23e87..bf6571a2 100644 --- a/demo/components/footer.vue +++ b/demo/components/footer.vue @@ -46,7 +46,7 @@ function topFunction() {
© {{new Date().getFullYear()}} - , Current Version: 2.4.2 + , Current Version: 2.4.3