We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41f8ef8 commit 7db434bCopy full SHA for 7db434b
web_src/js/features/repo-legacy.js
@@ -57,6 +57,7 @@ export function initRepoCommentForm() {
57
58
function initBranchSelector() {
59
const elSelectBranch = document.querySelector('.ui.dropdown.select-branch');
60
+ if (!elSelectBranch) return;
61
const isForNewIssue = elSelectBranch.getAttribute('data-for-new-issue') === 'true';
62
63
const $selectBranch = $(elSelectBranch);
0 commit comments