Commit 59a74557 by Matjaz Gregoric

Wrap bg image src in url(...).

Background image style property needs to be given as
url(...src...) to be valid CSS.
parent dbf85344
......@@ -88,7 +88,7 @@
h('div.close.icon-remove-sign.fa-times-circle'),
h('p.popup-content', {innerHTML: ctx.popup_html})
]),
h('div.target-img', {style: {backgroundImage: ctx.target_img_src}},
h('div.target-img', {style: {backgroundImage: 'url(' + ctx.target_img_src + ')'}},
renderCollection(zoneTemplate, ctx.zones, ctx))
]),
h('div.clear')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment