Minor UI improvements

This commit is contained in:
Lauris Bukšis-Haberkorns
2018-05-19 20:51:23 +03:00
parent a8dc699e74
commit 8ea8209c19
4 changed files with 13 additions and 12 deletions

View File

@@ -788,6 +788,9 @@ 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');
});
$('.code-view .lines-code,.code-view .lines-num')