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