aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-11-30 04:26:33 +0200
committerkaotisk <kaotisk@arching-kaos.org>2024-11-30 04:26:33 +0200
commitdf27d8b8addca3856b564e9a822c959b1b162442 (patch)
treef248ce7f639e8ed92cdd03bb87b52267b59dae74
parentdcc6f35266de1f56d7e9536311f0ff56b57c0fdc (diff)
downloadarching-kaos-web-ui-df27d8b8addca3856b564e9a822c959b1b162442.tar.gz
arching-kaos-web-ui-df27d8b8addca3856b564e9a822c959b1b162442.tar.bz2
arching-kaos-web-ui-df27d8b8addca3856b564e9a822c959b1b162442.zip
Upgrade ak-generator: +style
-rw-r--r--src/js/arching-kaos-generator.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/js/arching-kaos-generator.js b/src/js/arching-kaos-generator.js
index 9a0398d..a3d1669 100644
--- a/src/js/arching-kaos-generator.js
+++ b/src/js/arching-kaos-generator.js
@@ -27,6 +27,7 @@ export function makeElement(obj, attachTo)
if ( obj.className !== undefined ) temp.className = obj.className;
if ( obj.rel !== undefined ) temp.rel = obj.rel;
if ( obj.href !== undefined ) temp.href = obj.href;
+ if ( obj.style !== undefined ) temp.style = obj.style;
if ( obj.src !== undefined ) temp.src = obj.src;
if ( obj.as !== undefined ) temp.as = obj.as;
if ( obj.target !== undefined ) temp.target = obj.target;