diff --git a/Cargo.lock b/Cargo.lock index eae03eb2a8..17bb151280 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1623,7 +1623,7 @@ dependencies = [ [[package]] name = "fastn" -version = "0.3.78" +version = "0.3.79" dependencies = [ "clap", "colored", diff --git a/fastn-js/js/dom.js b/fastn-js/js/dom.js index d462e2365c..d1f78713f9 100644 --- a/fastn-js/js/dom.js +++ b/fastn-js/js/dom.js @@ -958,7 +958,7 @@ class Node2 { attachCss(property, value, createClass, className) { let propertyShort = fastn_dom.propertyMap[property] || property; propertyShort = `__${propertyShort}`; - let cls = `${propertyShort}-${JSON.stringify(fastn_dom.class_count)}`; + let cls = `${propertyShort}-${fastn_dom.class_count}`; if (!!className) { cls = className; } else { diff --git a/fastn/Cargo.toml b/fastn/Cargo.toml index b44d74b54a..6f6564ef73 100644 --- a/fastn/Cargo.toml +++ b/fastn/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "fastn" -version = "0.3.78" +version = "0.3.79" authors.workspace = true edition.workspace = true license.workspace = true