@widelab-nc/widelab 1.1.16 → 1.1.17
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 +2 -2
- package/package.json +1 -1
- package/src/index.js +5 -1
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -1025,11 +1025,15 @@ window.changeCheckboxLabelColor = function() {
|
|
|
1025
1025
|
// Contact modal open animation
|
|
1026
1026
|
window.openContactModal = function() {
|
|
1027
1027
|
contactFormOpen.play();
|
|
1028
|
+
document.body.classList.add('is-scroll-off');
|
|
1029
|
+
lenis.stop();
|
|
1028
1030
|
}
|
|
1029
1031
|
|
|
1030
1032
|
// Contact modal close animation
|
|
1031
1033
|
window.closeContactModal = function() {
|
|
1032
|
-
contactFormOpen.timeScale(1).reverse()
|
|
1034
|
+
contactFormOpen.timeScale(1).reverse();
|
|
1035
|
+
document.body.classList.remove('is-scroll-off');
|
|
1036
|
+
lenis.start();
|
|
1033
1037
|
}
|
|
1034
1038
|
|
|
1035
1039
|
// Close contact modal on ESC click
|