X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=app.js;h=bb1653789337d5e8f4cb8a2e280eea2b71d3d6e7;hb=a2bb7e0621f143f912ca505fed914fe0a5e6d611;hp=6036d49756f322a8dcbc7f1d33ee676095b2fffd;hpb=b4ae3ff62916d54d56778f63ef0231bfb5761142;p=xogo.git diff --git a/app.js b/app.js index 6036d49..bb16537 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 ` -
-