Sync dev with master #259

Merged
GCG.Admin (Automatisiert) merged 32 commits from master into dev 2024-01-21 14:20:00 +01:00
Showing only changes of commit 2b5ac1e3bf - Show all commits

@ -20,6 +20,29 @@
{{ range .Site.Params.plugins.head_js }}
<script src="{{ . | absURL }}" type="text/javascript"></script>
{{ end }}
<!-- jquery passive listener fixes -->
<script>
jQuery.event.special.touchstart = {
setup: function( _, ns, handle ) {
this.addEventListener("touchstart", handle, { passive: !ns.includes("noPreventDefault") });
}
};
jQuery.event.special.touchmove = {
setup: function( _, ns, handle ) {
this.addEventListener("touchmove", handle, { passive: !ns.includes("noPreventDefault") });
}
};
jQuery.event.special.wheel = {
setup: function( _, ns, handle ){
this.addEventListener("wheel", handle, { passive: true });
}
};
jQuery.event.special.mousewheel = {
setup: function( _, ns, handle ){
this.addEventListener("mousewheel", handle, { passive: true });
}
};
</script>
<link href="/pagefind/pagefind-ui.css" rel="stylesheet">