mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-24 22:20:35 +00:00
Backport #26602 by @wxiaoguang Otherwise, "pasted" content won't update the UI. Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
parent
b643b2ca9c
commit
c99374b151
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue