Fix behavior or checkbox submission. (#18851)

tokarchuk/v1.17
Gusted 3 years ago committed by GitHub
parent 704bdf89a2
commit c918521d01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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 // Silence fomantic's error logging when tabs are used without a target content element
$.fn.tab.settings.silent = true; $.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(); initVueEnv();

Loading…
Cancel
Save