We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f962a1 commit dd90198Copy full SHA for dd90198
web_src/js/features/repo-template.ts
@@ -6,6 +6,8 @@ const {appSubUrl} = window.config;
6
7
export function initRepoTemplateSearch() {
8
const $repoTemplate = $('#repo_template');
9
+ if (!$repoTemplate.length) return; // make sure the current page is "new repo" page
10
+
11
const checkTemplate = function () {
12
const $templateUnits = $('#template_units');
13
const $nonTemplate = $('#non_template');
0 commit comments