diff --git a/web_src/js/index.js b/web_src/js/index.js index 21b9da41adb5..639f36fab791 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;