This commit is contained in:
Roman Pyrih
2025-09-03 09:05:31 +02:00
parent 9c91e30d22
commit eed2bf7ab1
4 changed files with 62 additions and 1 deletions

View File

@@ -3,6 +3,11 @@ jQuery(function ($) {
gsap.registerPlugin(ScrollTrigger)
function initSticky() {
if ($(window).width() <= 992) {
ScrollTrigger.getByClass('heroImagePin')?.kill()
return
}
ScrollTrigger.getById('heroImagePin')?.kill()
const $pin = $('.box-1 .col-2')