mirror of
https://github.com/go-gitea/gitea.git
synced 2025-01-02 01:17:43 +03:00
fix js
This commit is contained in:
parent
dc10881f9a
commit
db2c4511a4
@ -11,7 +11,7 @@ export function initRepoNew() {
|
||||
const updateUiAutoInit = () => {
|
||||
inputAutoInit.checked = Boolean(inputGitIgnores.value || inputLicense.value);
|
||||
};
|
||||
form.addEventListener('input', updateUiAutoInit);
|
||||
form.addEventListener('change', updateUiAutoInit);
|
||||
updateUiAutoInit();
|
||||
|
||||
const inputRepoName = form.querySelector<HTMLInputElement>('input[name="repo_name"]');
|
||||
|
Loading…
Reference in New Issue
Block a user