mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-08 22:48:02 +02:00
Fix reply on code review (#10227)
Co-authored-by: zeripath <art27@cantab.net>
This commit is contained in:
1 parent
9ff4e1d2d9
commit
17656021f1
2 files changed
+10
-1
No files matched your search
@@ -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