Changeset 834bcc3 in Klonkt for src/assets/js/smooth-scroll.js
- Timestamp:
- 06/23/2026 06:14:27 PM (3 months ago)
- Branches:
- main
- Children:
- d774679
- Parents:
- bb42dfb
- File:
-
- 1 edited
-
src/assets/js/smooth-scroll.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/assets/js/smooth-scroll.js
rbb42dfb r834bcc3 2 2 (function () { 3 3 if (typeof Lenis === "undefined") return; 4 // Skip o p touch/mobile — native momentum is beter danJS lib4 // Skip on touch/mobile — native momentum scroll is better than a JS lib 5 5 var isMobile = window.matchMedia("(pointer: coarse)").matches || window.innerWidth < 1024; 6 6 if (isMobile) return;
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)