summaryrefslogtreecommitdiffstats
path: root/public/js/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/js/index.js')
-rw-r--r--public/js/index.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/public/js/index.js b/public/js/index.js
index bd22442e5f..8674993261 100644
--- a/public/js/index.js
+++ b/public/js/index.js
@@ -1243,6 +1243,11 @@ $(document).ready(function () {
$($(this).data('target')).slideToggle(100);
});
+ // make table <tr> element clickable like a link
+ $('tr[data-href]').click(function(event) {
+ window.location = $(this).data('href');
+ });
+
// Highlight JS
if (typeof hljs != 'undefined') {
hljs.initHighlightingOnLoad();