From 07e2c59aa35f9d3057f247882136ea6238ed207c Mon Sep 17 00:00:00 2001 From: Matthijs Kuiper Date: Mon, 8 Jan 2018 00:34:58 +0100 Subject: Assets dir with libs --- html/assets/main.js | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 html/assets/main.js (limited to 'html/assets/main.js') diff --git a/html/assets/main.js b/html/assets/main.js new file mode 100644 index 0000000..b1e9b9e --- /dev/null +++ b/html/assets/main.js @@ -0,0 +1,11 @@ +$(document).ready(function() { + // Tooltips + $(".tooltip").tooltipster(); + + // Click rows + $(".clickableRow").click(function() { + if (event.which == 1) { + window.document.location = $(this).attr("href"); + } + }); +}); -- cgit