diff --git a/nouri/static/js/ui.js b/nouri/static/js/ui.js index fb19af5..390afeb 100644 --- a/nouri/static/js/ui.js +++ b/nouri/static/js/ui.js @@ -141,6 +141,16 @@ tracking = false; maxPull = 0; }, { passive: true }); + + document.addEventListener("gesturestart", (event) => { + event.preventDefault(); + }); + + document.addEventListener("touchmove", (event) => { + if (event.touches.length > 1) { + event.preventDefault(); + } + }, { passive: false }); }; document.addEventListener("DOMContentLoaded", () => { diff --git a/nouri/templates/base.html b/nouri/templates/base.html index bb16246..ab6f61b 100644 --- a/nouri/templates/base.html +++ b/nouri/templates/base.html @@ -2,7 +2,7 @@ - + {% block title %}Nouri{% endblock %}