Fix weird spaces in jimpowers demo (#2622)

pull/2636/head
Thomas Lovén 2019-01-30 18:57:47 +01:00 committed by Paulus Schoutsen
parent b0958f589b
commit bc87e05e2d
1 changed files with 1 additions and 0 deletions

View File

@ -53,6 +53,7 @@ class CardModder extends LitElement {
for (var k in this._config.style) {
if (window.cardTools.hasTemplate(this._config.style[k]))
this.templated.push(k);
this.card.style.setProperty(k, '');
target.style.setProperty(
k,
window.cardTools.parseTemplate(this._config.style[k])