Skip to content

Commit 902b395

Browse files
committed
Fix commit expand button to not go to commit link
1 parent cb1048d commit 902b395

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

public/js/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2994,7 +2994,8 @@ function initFilterBranchTagDropdown(selector) {
29942994
});
29952995
}
29962996

2997-
$(".commit-button").click(function() {
2997+
$(".commit-button").click(function(e) {
2998+
e.preventDefault();
29982999
$(this).parent().find('.commit-body').toggle();
29993000
});
30003001

0 commit comments

Comments
 (0)