Skip to content

Commit

Permalink
Fix behavior or checkbox submission. (go-gitea#18851)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gusted authored and Stelios Malathouras committed Mar 28, 2022
1 parent f5e28fd commit a28a56b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web_src/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit a28a56b

Please sign in to comment.