mirror of
https://github.com/go-gitea/gitea
synced 2025-07-05 18:17:19 +00:00
Introduce eslint-plugin-no-jquery/no-event-shorthand (#24198)
https://github.com/go-gitea/gitea/pull/24098#issuecomment-1514010690 --------- Co-authored-by: silverwind <me@silverwind.io>
This commit is contained in:
@ -57,7 +57,7 @@ export function initRepoCommentForm() {
|
||||
const $selectBranch = $('.ui.select-branch');
|
||||
const $branchMenu = $selectBranch.find('.reference-list-menu');
|
||||
const $isNewIssue = $branchMenu.hasClass('new-issue');
|
||||
$branchMenu.find('.item:not(.no-select)').click(function () {
|
||||
$branchMenu.find('.item:not(.no-select)').on('click', function () {
|
||||
const selectedValue = $(this).data('id');
|
||||
const editMode = $('#editing_mode').val();
|
||||
$($(this).data('id-selector')).val(selectedValue);
|
||||
|
Reference in New Issue
Block a user