diff options
Diffstat (limited to 'public/js/index.js')
-rw-r--r-- | public/js/index.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/public/js/index.js b/public/js/index.js index bfcf36f528..53650890f0 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -2994,7 +2994,8 @@ function initFilterBranchTagDropdown(selector) { }); } -$(".commit-button").click(function() { +$(".commit-button").click(function(e) { + e.preventDefault(); $(this).parent().find('.commit-body').toggle(); }); |