@widelab-nc/widelab 1.0.11 → 1.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@widelab-nc/widelab",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "description": "Widelab starter template based on Finsweet template + add-ons.",
5
5
  "homepage": "https://widelab.co",
6
6
  "license": "ISC",
package/src/index.js CHANGED
@@ -135,13 +135,11 @@ window.Webflow.push(() => {
135
135
  console.log('The new code source is loaded!');
136
136
  initAlpine();
137
137
  lazyLoadVideos();
138
- /* if (Webflow.env("editor") === undefined) {
139
- lenisScroll();
140
- } else {
141
- console.log('Editor mode!');
142
- lenis.destroy();
143
- }*/
144
138
  lenis.destroy();
139
+ if (Webflow.env("editor") === undefined) {
140
+ lenisScroll();
141
+ lenis.start();
142
+ }
145
143
  customGsapEasing();
146
144
  reloadOnBack();
147
145
  revealFooter();