diff options
author | silverwind <me@silverwind.io> | 2020-12-09 20:03:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-09 14:03:19 -0500 |
commit | c85bb6263503ebd335863f413214a775973a1fac (patch) | |
tree | 4264266101a847d0895d6c9ad6442f9cb240b1db /web_src/js | |
parent | 6edfa6bc88ed73fc5a31f1b2fe9f5587c932ada7 (diff) | |
download | gitea-c85bb6263503ebd335863f413214a775973a1fac.tar.gz gitea-c85bb6263503ebd335863f413214a775973a1fac.zip |
Replace more icons with SVG, repo search tweaks (#13860)
* Replace more icons with SVG
- Replace remaining icons on admin page with SVG
- Fix vertical menu background on arc-green
- Minor improvments to frontpage repo search
- More icon replacements here and there
* fix integration
* whitespace tweak
* add comment
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'web_src/js')
-rw-r--r-- | web_src/js/index.js | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/web_src/js/index.js b/web_src/js/index.js index 2cb928b203..496495a1cd 100644 --- a/web_src/js/index.js +++ b/web_src/js/index.js @@ -1262,11 +1262,10 @@ function initPullRequestReview() { $('.btn-review').on('click', function (e) { e.preventDefault(); $(this).closest('.dropdown').find('.menu').toggle('visible'); - }).closest('.dropdown').find('.link.close') - .on('click', function (e) { - e.preventDefault(); - $(this).closest('.menu').toggle('visible'); - }); + }).closest('.dropdown').find('.close').on('click', function (e) { + e.preventDefault(); + $(this).closest('.menu').toggle('visible'); + }); $('.add-code-comment').on('click', function (e) { if ($(e.target).hasClass('btn-add-single')) return; // https://github.com/go-gitea/gitea/issues/4745 |