aboutsummaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
Diffstat (limited to 'web_src')
-rw-r--r--web_src/js/index.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/web_src/js/index.js b/web_src/js/index.js
index c9a7949d5a..b7eba5e664 100644
--- a/web_src/js/index.js
+++ b/web_src/js/index.js
@@ -78,6 +78,8 @@ import {initRepoCommentForm, initRepository} from './features/repo-legacy.js';
// Silence fomantic's error logging when tabs are used without a target content element
$.fn.tab.settings.silent = true;
+// Disable the behavior of fomantic to toggle the checkbox when you press enter on a checkbox element.
+$.fn.checkbox.settings.enableEnterKey = false;
initVueEnv();