mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Merge pull request #2014 from Wolfsblvt/fix-multi-char-import
Fix multi char import on import button click not importing tags
This commit is contained in:
@@ -9939,14 +9939,14 @@ jQuery(async function () {
|
||||
$('#character_import_file').click();
|
||||
});
|
||||
|
||||
$('#character_import_file').on('change', function (e) {
|
||||
$('#character_import_file').on('change', async function (e) {
|
||||
$('#rm_info_avatar').html('');
|
||||
if (!e.target.files.length) {
|
||||
return;
|
||||
}
|
||||
|
||||
for (const file of e.target.files) {
|
||||
importCharacter(file);
|
||||
await importCharacter(file);
|
||||
}
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user