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 --- dist/js/js/tos.js | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 dist/js/js/tos.js (limited to 'dist/js/js/tos.js') diff --git a/dist/js/js/tos.js b/dist/js/js/tos.js new file mode 100644 index 0000000..9955abf --- /dev/null +++ b/dist/js/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