Use explicit jQuery import, remove unused eslint globals (#18435)
- Don't rely on globals (window.$) for jQuery import - Remove eslint globals no longer in use
This commit is contained in:
parent
7b04c97b7b
commit
19b017f398
51 changed files with 76 additions and 18 deletions
|
@ -1,3 +1,5 @@
|
|||
import $ from 'jquery';
|
||||
|
||||
export function initRepoBranchButton() {
|
||||
$('.show-create-branch-modal.button').on('click', function () {
|
||||
$('#create-branch-form')[0].action = $('#create-branch-form').data('base-action') + $(this).data('branch-from-urlcomponent');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue