summaryrefslogtreecommitdiffstats
path: root/web_src/js
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2020-05-04 21:55:52 +0100
committerGitHub <noreply@github.com>2020-05-04 16:55:52 -0400
commit680dfab2eeb65c0ba068f0996742adae59e0e5a8 (patch)
treefb7f7adb90f6d45bb84920a09e6f728444c97632 /web_src/js
parent99082eebd76019fc608e44c4464da6398f51dccd (diff)
downloadgitea-680dfab2eeb65c0ba068f0996742adae59e0e5a8.tar.gz
gitea-680dfab2eeb65c0ba068f0996742adae59e0e5a8.zip
Fix Create new branch (#11294)
Fix #11212 Signed-off-by: Andrew Thornton <art27@cantab.net>
Diffstat (limited to 'web_src/js')
-rw-r--r--web_src/js/index.js2
1 files changed, 1 insertions, 1 deletions
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;