Skip to content

Commit db2c451

Browse files
committed
fix js
1 parent dc10881 commit db2c451

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_src/js/features/repo-new.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export function initRepoNew() {
1111
const updateUiAutoInit = () => {
1212
inputAutoInit.checked = Boolean(inputGitIgnores.value || inputLicense.value);
1313
};
14-
form.addEventListener('input', updateUiAutoInit);
14+
form.addEventListener('change', updateUiAutoInit);
1515
updateUiAutoInit();
1616

1717
const inputRepoName = form.querySelector<HTMLInputElement>('input[name="repo_name"]');

0 commit comments

Comments
 (0)