thomasloven/lovelace-card-modder

Issue in last release - Uncaught SyntaxError: Unexpected token {

SeLLeRoNe opened this issue · 2 comments

Hi Thomas,

first of all, thanks for the great work and effort you put into this :)

I have just updated this custom card but it is no longer working, this is the error:
card-modder.js?v=c7fa10:74:55 Uncaught SyntaxError: Unexpected token {

I guess there is a typo of sort (or a unclsoed "business" :D) somewhere

Hope it helps :)

Cheers
Andrea

I believe the issue is line #74 in the .js

#74 if(root.querySelector("vertical-stack-in-card") {
#75 target = root.querySelector("vertical-stack-in-card");
#76 continue;

Maybe after the ("vertical-stack-in-card") something here is broke?

Fixed in #26