From ade24ec2bda8b79b77d91f14bcb75a960d2f95d0 Mon Sep 17 00:00:00 2001 From: southerntofu Date: Mon, 26 Aug 2019 23:13:29 +0200 Subject: [PATCH] remove JS + add more relative URLs --- templates/web/assets/scripts.js | 6 ------ templates/web/assets/styles.css | 2 +- templates/web/head.partial.html | 3 +-- 3 files changed, 2 insertions(+), 9 deletions(-) delete mode 100644 templates/web/assets/scripts.js diff --git a/templates/web/assets/scripts.js b/templates/web/assets/scripts.js deleted file mode 100644 index e846830..0000000 --- a/templates/web/assets/scripts.js +++ /dev/null @@ -1,6 +0,0 @@ -/* Close menu buttons on select */ -Array.from(document.querySelectorAll('.link-grid a')).map( el => { - el.addEventListener('click', e => { - document.getElementById("toggle").checked = false; - }) -}) diff --git a/templates/web/assets/styles.css b/templates/web/assets/styles.css index c2f3e23..21d1c0a 100644 --- a/templates/web/assets/styles.css +++ b/templates/web/assets/styles.css @@ -121,7 +121,7 @@ h3 { left: 0; cursor: pointer; line-height: 40px; - background-image: url('/assets/nav-toggle.png'); + background-image: url('nav-toggle.png'); background-size: 50px 103px; background-position: 0 0; background-color: rgba(255, 255, 255, 0.2); diff --git a/templates/web/head.partial.html b/templates/web/head.partial.html index e9e5c46..b904a3f 100644 --- a/templates/web/head.partial.html +++ b/templates/web/head.partial.html @@ -9,7 +9,6 @@ -