From d2bb8ef503901b05a34a7d24ddd32c8a5b7524fc Mon Sep 17 00:00:00 2001 From: Andrey Nering Date: Tue, 17 Jan 2017 23:18:55 -0200 Subject: Notifications: trying to get a better layout (#660) * i18n button titles * Improvements on notification page layout * Notification count badge fixes * Make table clickable * Fix octicon aligment * Fix use of AppSubUrl --- public/js/index.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'public/js') 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 element clickable like a link + $('tr[data-href]').click(function(event) { + window.location = $(this).data('href'); + }); + // Highlight JS if (typeof hljs != 'undefined') { hljs.initHighlightingOnLoad(); -- cgit v1.2.3