summaryrefslogtreecommitdiff
path: root/html/assets/main.js
diff options
context:
space:
mode:
authorMatthijs Kuiper <info@matthijskuiper.nl>2018-01-14 11:28:01 +0100
committerGitHub <noreply@github.com>2018-01-14 11:28:01 +0100
commit76ab07b6646c807d321274bfdfb2814cffb6af90 (patch)
tree3878861d9f6c8c70fd5d638fb3ce58857cee00d5 /html/assets/main.js
parentcbae6c7e376faf9b4a76ab0631d9da168545e41f (diff)
parent701165fded99ff9f70a4379444d9bd1432052c63 (diff)
Merge pull request #7 from sn3p/new-design4.4.0
New design
Diffstat (limited to 'html/assets/main.js')
-rw-r--r--html/assets/main.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/html/assets/main.js b/html/assets/main.js
new file mode 100644
index 0000000..5863530
--- /dev/null
+++ b/html/assets/main.js
@@ -0,0 +1,16 @@
+$(document).ready(function() {
+ // Tooltips
+ $(".tooltip").tooltipster();
+
+ // Click rows
+ $(".clickableRow").click(function() {
+ if (event.which == 1) {
+ window.document.location = $(this).attr("href");
+ }
+ });
+
+ // Credits changelog toggle
+ $(".changeLog").click(function() {
+ $("#contentChangeLog").slideToggle(300);
+ });
+});