X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=app.js;h=12c2b7ab65fea59a497ed1901a924889b0225491;hb=182ba661e9c6e30fc641f4e71f29ae76961f4510;hp=6036d49756f322a8dcbc7f1d33ee676095b2fffd;hpb=b4ae3ff62916d54d56778f63ef0231bfb5761142;p=xogo.git diff --git a/app.js b/app.js index 6036d49..12c2b7a 100644 --- a/app.js +++ b/app.js @@ -130,11 +130,13 @@ function toggleStyle(event, obj) { let options; function prepareOptions() { options = {}; - let optHtml = V.Options.select.map(select => { return ` + let optHtml = ""; + if (V.Options.select) { + optHtml += V.Options.select.map(select => { return `
- ` + select.options.map(option => { return `
`; - }).join(""); - optHtml += V.Options.check.map(check => { - return ` -
-