From 85f6091b0f20697890eaedb0f9e92f7dcba67f9e Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Sun, 20 Aug 2023 19:32:25 +0800 Subject: [PATCH] fix --- web_src/js/features/repo-migration.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web_src/js/features/repo-migration.js b/web_src/js/features/repo-migration.js index ee2ec0194330..3bd0e6d72c5b 100644 --- a/web_src/js/features/repo-migration.js +++ b/web_src/js/features/repo-migration.js @@ -15,9 +15,9 @@ export function initRepoMigration() { checkAuth(); setLFSSettingsVisibility(); - $user.on('keyup', () => {checkItems(false)}); - $pass.on('keyup', () => {checkItems(false)}); - $token.on('keyup', () => {checkItems(true)}); + $user.on('input', () => {checkItems(false)}); + $pass.on('input', () => {checkItems(false)}); + $token.on('input', () => {checkItems(true)}); $mirror.on('change', () => {checkItems(true)}); $('#lfs_settings_show').on('click', () => { showElem($lfsEndpoint); return false }); $lfs.on('change', setLFSSettingsVisibility);