0
0
mirror of https://github.com/marcrobledo/savegame-editors.git synced 2025-04-28 09:05:10 +00:00

improved the way the filenames are shown in the drag and drop container

This commit is contained in:
Marc Robledo 2023-05-08 19:58:09 +02:00
parent 22c37273bd
commit 9a92623bd3

View File

@ -164,8 +164,15 @@ function getSavegameAllNames(){
return SavegameEditor.Filename;
else{
var s='';
for(var i=0; i<SavegameEditor.Filename.length; i++)
s+=SavegameEditor.Filename[i]+', ';
for(var i=0; i<SavegameEditor.Filename.length; i++){
if(i){
if(i===(SavegameEditor.Filename.length-1))
s+=' or ';
else
s+=', ';
}
s+=SavegameEditor.Filename[i];
}
return s
}
}