diff --git a/www/common/hyperscript.js b/www/common/hyperscript.js index 3be018194..0dbb0f80b 100644 --- a/www/common/hyperscript.js +++ b/www/common/hyperscript.js @@ -99,7 +99,7 @@ function context () { } else if (k.substr(0, 5) === "data-") { e.setAttribute(k, l[k]) } else { - e[k] = l[k] + e.setAttribute(k, l[k]); } } } else if ('function' === typeof l) {