mirror of
https://github.com/go-gitea/gitea.git
synced 2025-06-22 14:27:55 +00:00
parent
7f962a16c9
commit
dd901983c0
@ -6,6 +6,8 @@ const {appSubUrl} = window.config;
|
|||||||
|
|
||||||
export function initRepoTemplateSearch() {
|
export function initRepoTemplateSearch() {
|
||||||
const $repoTemplate = $('#repo_template');
|
const $repoTemplate = $('#repo_template');
|
||||||
|
if (!$repoTemplate.length) return; // make sure the current page is "new repo" page
|
||||||
|
|
||||||
const checkTemplate = function () {
|
const checkTemplate = function () {
|
||||||
const $templateUnits = $('#template_units');
|
const $templateUnits = $('#template_units');
|
||||||
const $nonTemplate = $('#non_template');
|
const $nonTemplate = $('#non_template');
|
||||||
|
Loading…
Reference in New Issue
Block a user