@widelab-nc/widelab 1.1.17 → 1.1.18

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.1.17",
3
+ "version": "1.1.18",
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
@@ -86,15 +86,6 @@ function contactFormOpenAnimation() {
86
86
  });
87
87
  }
88
88
 
89
- // Scroll disable
90
- function disableScrollMenu() {
91
- const script = document.createElement('script');
92
- script.src =
93
- 'https://cdn.jsdelivr.net/npm/@finsweet/attributes-scrolldisable@1/scrolldisable.js';
94
- script.defer = true;
95
- document.head.appendChild(script);
96
- }
97
-
98
89
  // Hero move to reveal footer
99
90
  function revealFooter() {
100
91
  const footer = document.querySelector('.is-footer');
@@ -1155,7 +1146,4 @@ window.scrollTriggerRefresh = function() {
1155
1146
  pageTransitionAnimation();
1156
1147
  customCursorOnClick();
1157
1148
  contactFormOpenAnimation();
1158
- if (window.innerWidth < 992) {
1159
- disableScrollMenu();
1160
- }
1161
1149
  });