gpstrek - Refactoring

pull/2218/head
Martin Boonk 2022-11-02 22:50:00 +01:00
parent d028b61dd7
commit dd5db31f1e
1 changed files with 3 additions and 4 deletions

View File

@ -477,10 +477,9 @@ function showRouteSelector (){
}
};
for (let c of STORAGE.list((/\.trf$/))){
let file = c;
menu[file] = ()=>{handleLoading(file);};
}
STORAGE.list(/\.trf$/).forEach((file)=>{
menu[file] = ()=>{handleLoading(file);};
});
E.showMenu(menu);
}