diff options
author | Jonas Kohl | 2024-11-08 11:51:29 +0100 |
---|---|---|
committer | Jonas Kohl | 2024-11-08 11:51:29 +0100 |
commit | 196f0d69bcf29cf589fc5f379920286f9db14426 (patch) | |
tree | 17b9a29ed4fca01099274e1a6047b9aae17ecb67 /public/site.js | |
parent | a4ea9c666f8f01b56077476e830dd358231bc53f (diff) |
Add full width toggle
Diffstat (limited to 'public/site.js')
-rw-r--r-- | public/site.js | 5 |
1 files changed, 5 insertions, 0 deletions
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(); |