mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-05-30 23:01:16 +08:00
Fix commit expand button to not go to commit link (#8745)
* 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:
@ -2994,7 +2994,8 @@ function initFilterBranchTagDropdown(selector) {
|
||||
});
|
||||
}
|
||||
|
||||
$(".commit-button").click(function() {
|
||||
$(".commit-button").click(function(e) {
|
||||
e.preventDefault();
|
||||
$(this).parent().find('.commit-body').toggle();
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user