@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/dist/index.js +2 -2
- package/dist/index.js.map +3 -3
- package/package.json +1 -1
- package/src/index.js +4 -6
package/package.json
CHANGED
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();
|