1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-19 08:48:37 +00:00

Fix commit expand button to not go to commit link (#8745) (#8825)

* Fix commit expand button to not go to commit link

* Fix message rendering to have correct HTML in result

* Fix check for empty commit message

* Code optimization
This commit is contained in:
Lauris BH
2019-11-04 20:59:17 +02:00
committed by GitHub
parent c5e5063ec9
commit 1c65ecc1c6
2 changed files with 32 additions and 18 deletions

View File

@@ -2873,7 +2873,8 @@ function initFilterBranchTagDropdown(selector) {
});
}
$(".commit-button").click(function() {
$(".commit-button").click(function(e) {
e.preventDefault();
$(this).parent().find('.commit-body').toggle();
});