Fix #19: Remove jQuery dependency, replace with vanilla JS #21
Reference in New Issue
Block a user
No description provided.
Delete Branch "feature/issue-19-remove-jquery-masonry"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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