X-Git-Url: https://git.auder.net/assets/%7B%7B%20path%28%27mixstore_store_package_view%27%2C%20%7B%20id:%20newsItem.id%20%7D%29%20%7D%7D?a=blobdiff_plain;f=app.js;h=bb1653789337d5e8f4cb8a2e280eea2b71d3d6e7;hb=3b641716d7e86d9f1b39d1e046ce197e6b5a8075;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 `