mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Fix behavior or checkbox submission. (#18851)
This commit is contained in:
		@@ -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();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user