Commit 06966032 by Daniel Bawag

WG-92 - Added a process of handling 1 input file

parent 7e8c6e46
...@@ -159,8 +159,10 @@ function accessFile() { ...@@ -159,8 +159,10 @@ function accessFile() {
if((localStorage.length)==0){ if((localStorage.length)==0){
if(updated_input_files.length==0){ if(updated_input_files.length==0){
alert("No Inputs"); alert("No Inputs");
}else{ } else if (updated_input_files.length==1){
main(updated_input_files[0]); main(updated_input_files[0]);
} else {
await main(updated_input_files[0]);
main(updated_input_files[1]); main(updated_input_files[1]);
} }
}else{ }else{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment