- Rewrite haus-schleusingen.js entirely in vanilla JavaScript
- Use IntersectionObserver instead of scroll event for scroll animations
- Replace jQuery slideUp/slideDown with display toggle for accordion
- Replace jQuery fadeIn with CSS opacity transition for form success
- Remove jQuery CDN script tag from haus-schleusingen.html
- Delete unused masonry.pkgd.min.js
- Remove jquery globals from eslint.config.js
Ref #19
- Rewrite haus-schleusingen.js entirely in vanilla JavaScript
- Use IntersectionObserver instead of scroll event for scroll animations
- Replace jQuery slideUp/slideDown with display toggle for accordion
- Replace jQuery fadeIn with CSS opacity transition for form success
- Remove jQuery CDN script tag from haus-schleusingen.html
- Delete unused masonry.pkgd.min.js
- Remove jquery globals from eslint.config.js
Ref #19
- Rewrite haus-schleusingen.js entirely in vanilla JavaScript
- Use IntersectionObserver instead of scroll event for scroll animations
- Replace jQuery slideUp/slideDown with display toggle for accordion
- Replace jQuery fadeIn with CSS opacity transition for form success
- Remove jQuery CDN script tag from haus-schleusingen.html
- Delete unused masonry.pkgd.min.js
- Remove jquery globals from eslint.config.js
Ref #19
greggy
merged commit d609175b3c into main2026-05-15 10:29:56 +02:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Resolves #19
Entfernt jQuery 3.7.1 (CDN) und die ungenutzte Masonry.js-Datei. Der gesamte JavaScript-Code (~130 Zeilen) wurde in Vanilla JS neu geschrieben.
Changes
window.addEventListenerstatt$(window).onclassList.addstattaddClassIntersectionObserverstatt scroll-Event (performanter)display-Toggle stattslideUp/slideDown$(document).onvalue/addEventListenerstatt jQuery-Methoden<script>-Tag entferntPerformance-Gewinn
Testing