X-Git-Url: https://git.auder.net/images/pieces/Cwda/current/git-favicon.png?a=blobdiff_plain;f=app.js;h=c5d5c7f6e2a07dbcc6f85b1a8fce75fa1656b28c;hb=HEAD;hp=6036d49756f322a8dcbc7f1d33ee676095b2fffd;hpb=b4ae3ff62916d54d56778f63ef0231bfb5761142;p=xogo.git diff --git a/app.js b/app.js index 6036d49..c5d5c7f 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 `