diff options
author | Andrey Nering <andrey.nering@gmail.com> | 2017-01-17 23:18:55 -0200 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-01-18 09:18:55 +0800 |
commit | d2bb8ef503901b05a34a7d24ddd32c8a5b7524fc (patch) | |
tree | c415041f6c70ed024a5a6b8b69e9af0c4e577fd7 /public/js | |
parent | d0ad7921f8681a42ed27b1921ee55e16ef7457d2 (diff) | |
download | gitea-d2bb8ef503901b05a34a7d24ddd32c8a5b7524fc.tar.gz gitea-d2bb8ef503901b05a34a7d24ddd32c8a5b7524fc.zip |
Notifications: trying to get a better layout (#660)
* i18n button titles
* Improvements on notification page layout
* Notification count badge fixes
* Make table <tr> clickable
* Fix octicon aligment
* Fix use of AppSubUrl
Diffstat (limited to 'public/js')
-rw-r--r-- | public/js/index.js | 5 |
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(); |