diff options
Diffstat (limited to 'web_src/js/features/repo-branch.js')
-rw-r--r-- | web_src/js/features/repo-branch.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/web_src/js/features/repo-branch.js b/web_src/js/features/repo-branch.js index 4402411bfd..bc713a7397 100644 --- a/web_src/js/features/repo-branch.js +++ b/web_src/js/features/repo-branch.js @@ -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'); |