mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-07 15:48:46 +01: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:
commit
d27efb21d6
@ -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);
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user