mirror of
https://github.com/go-gitea/gitea.git
synced 2025-04-23 01:48:47 +03:00
@ -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');
|
||||||
|
Reference in New Issue
Block a user