mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-25 08:59:31 -05:00
Fix behavior or checkbox submission. (#18851)
This commit is contained in:
parent
704bdf89a2
commit
c918521d01
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue