diff --git a/web_src/js/index.js b/web_src/js/index.js index 21b9da41ad..639f36fab7 100644 --- a/web_src/js/index.js +++ b/web_src/js/index.js @@ -3085,7 +3085,7 @@ function initFilterBranchTagDropdown(selector) { if (!this.showCreateNewBranch) { return; } - this.$refs.newBranchForm.trigger('submit'); + $(this.$refs.newBranchForm).trigger('submit'); }, focusSearchField() { const vm = this;