Commit 70cd532e by Xavier Antoviaque

Merge pull request #28 from edx-solutions/hotfix-custom-bg-image

Wrap bg image src in url(...).
parents dbf85344 59a74557
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
h('div.close.icon-remove-sign.fa-times-circle'), h('div.close.icon-remove-sign.fa-times-circle'),
h('p.popup-content', {innerHTML: ctx.popup_html}) 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)) renderCollection(zoneTemplate, ctx.zones, ctx))
]), ]),
h('div.clear') 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