From df27d8b8addca3856b564e9a822c959b1b162442 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Sat, 30 Nov 2024 04:26:33 +0200 Subject: Upgrade ak-generator: +style --- src/js/arching-kaos-generator.js | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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; -- cgit v1.2.3