summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
Diffstat (limited to 'public')
-rw-r--r--public/js/index.js3
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();
});