diff --git a/web_src/js/features/repo-issue-list.js b/web_src/js/features/repo-issue-list.js index 48b1555c8..880ecf948 100644 --- a/web_src/js/features/repo-issue-list.js +++ b/web_src/js/features/repo-issue-list.js @@ -9,6 +9,7 @@ import {DELETE, POST} from '../modules/fetch.js'; function initRepoIssueListCheckboxes() { const issueSelectAll = document.querySelector('.issue-checkbox-all'); + if (!issueSelectAll) return; // logged out state const issueCheckboxes = document.querySelectorAll('.issue-checkbox'); const syncIssueSelectionState = () => {