mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Fix reply on code review (#10227)
Co-authored-by: zeripath <art27@cantab.net>
This commit is contained in:
		@@ -3559,6 +3559,14 @@ window.cancelCodeComment = function (btn) {
 | 
			
		||||
    form.closest('.comment-code-cloud').remove();
 | 
			
		||||
  }
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
window.submitReply = function (btn) {
 | 
			
		||||
  const form = $(btn).closest('form');
 | 
			
		||||
  if (form.length > 0 && form.hasClass('comment-form')) {
 | 
			
		||||
    form.submit();
 | 
			
		||||
  }
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
window.onOAuthLoginClick = function () {
 | 
			
		||||
  const oauthLoader = $('#oauth2-login-loader');
 | 
			
		||||
  const oauthNav = $('#oauth2-login-navigator');
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user