diff options
author | Unknwon <u@gogs.io> | 2015-08-27 23:06:14 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-08-27 23:06:14 +0800 |
commit | 23f42d92c917564435a00e8e75633b8056bd7b0d (patch) | |
tree | 6fed7f6df4c6b039e4e43eaae2fcd5788ddba3a0 /public/js | |
parent | fc2d0e5470fa2fea260adba30866acda1aa945cb (diff) |
add webhook recent deliveries
Diffstat (limited to 'public/js')
-rw-r--r-- | public/js/gogs.js | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/public/js/gogs.js b/public/js/gogs.js index 2193101d..c9a8a1f8 100644 --- a/public/js/gogs.js +++ b/public/js/gogs.js @@ -341,10 +341,6 @@ function initRepository() { // Diff if ($('.repository.diff').length > 0) { - $('.diff-detail-box .toggle.button').click(function () { - $($(this).data('target')).slideToggle(100); - }) - var $counter = $('.diff-counter'); if ($counter.length < 1) { return; @@ -406,6 +402,11 @@ $(document).ready(function () { } } }); + $('.tabular.menu .item').tab(); + + $('.toggle.button').click(function () { + $($(this).data('target')).slideToggle(100); + }); // Dropzone if ($('#dropzone').length > 0) { |