diff options
Diffstat (limited to 'html/assets/main.js')
-rw-r--r-- | html/assets/main.js | 11 |
1 files changed, 11 insertions, 0 deletions
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"); + } + }); +}); |