@widelab-nc/widelab 1.0.27 → 1.0.28

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.js +3 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@widelab-nc/widelab",
3
- "version": "1.0.27",
3
+ "version": "1.0.28",
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
@@ -956,12 +956,11 @@ function customGsapEasing() {
956
956
  }
957
957
 
958
958
  // Update the scroll trigger on page load
959
- window.updateScrollTrigger = function() {
960
- ScrollTrigger.update();
961
- console.log('ScrollTrigger updated');
959
+ function updateScrollTrigger() {
960
+ ScrollTrigger.update();
961
+ console.log('ScrollTrigger updated');
962
962
  }
963
963
 
964
-
965
964
  // !!!!!!!!! Keep this Alpine init at the end !!!!!!!!!
966
965
  window.Webflow ||= [];
967
966
  window.Webflow.push(() => {