From 196f0d69bcf29cf589fc5f379920286f9db14426 Mon Sep 17 00:00:00 2001 From: Jonas Kohl Date: Fri, 8 Nov 2024 11:51:29 +0100 Subject: Add full width toggle --- public/site.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'public/site.js') diff --git a/public/site.js b/public/site.js index e19d6ef..1155126 100644 --- a/public/site.js +++ b/public/site.js @@ -49,6 +49,11 @@ $(function() { }); }); + $("#toggleFullWidth").on("click", function(e) { + e.preventDefault(); + $("body").toggleClass("full-width"); + }); + $("form").on("submit", function(e) { e.preventDefault(); -- cgit v1.2.3