(id)
| 319 | |
| 320 | // Utilities |
| 321 | function idToProperName(id) { |
| 322 | const newId = id.replace(/-/g, " ").replace(/^.|\s./g, (char) => char.toUpperCase()); |
| 323 | |
| 324 | return newId; |
| 325 | } |
| 326 | |
| 327 | function createMenu() { |
| 328 | const container = document.createElement("div"); |