mirror of https://github.com/go-gitea/gitea.git
Merge branch 'main' into fix-broken-pipe
This commit is contained in:
commit
03ee2a1f68
|
@ -57,6 +57,7 @@ export function initRepoCommentForm() {
|
|||
|
||||
function initBranchSelector() {
|
||||
const elSelectBranch = document.querySelector('.ui.dropdown.select-branch');
|
||||
if (!elSelectBranch) return;
|
||||
const isForNewIssue = elSelectBranch.getAttribute('data-for-new-issue') === 'true';
|
||||
|
||||
const $selectBranch = $(elSelectBranch);
|
||||
|
|
Loading…
Reference in New Issue