From fc66b376cb3a2c73843cc882d500cfd743c0790e Mon Sep 17 00:00:00 2001 From: sijanec Date: Sun, 17 May 2020 00:13:40 +0200 Subject: dist should work, TODO: minify and bundle --- assets/js/tos.js | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 assets/js/tos.js (limited to 'assets/js/tos.js') diff --git a/assets/js/tos.js b/assets/js/tos.js new file mode 100644 index 0000000..9955abf --- /dev/null +++ b/assets/js/tos.js @@ -0,0 +1,5 @@ +document.addEventListener("DOMContentLoaded", () => { + $("#nav-home-button").click(() => { + window.location.replace("/index.html"); + }); +}); \ No newline at end of file -- cgit v1.2.3