From b7972af4ddc45201861284065a727c44922b952f Mon Sep 17 00:00:00 2001 From: kaotisk Date: Wed, 13 Nov 2024 02:00:48 +0200 Subject: Updates (visual and refactoring) --- client/js/arching-kaos-generator.js | 1 + 1 file changed, 1 insertion(+) (limited to 'client/js/arching-kaos-generator.js') diff --git a/client/js/arching-kaos-generator.js b/client/js/arching-kaos-generator.js index e6e28f5..22e0747 100644 --- a/client/js/arching-kaos-generator.js +++ b/client/js/arching-kaos-generator.js @@ -37,6 +37,7 @@ function makeElement(obj, attachTo) if ( obj.hidden !== undefined ) temp.hidden = obj.hidden; if ( obj.placeholder !== undefined ) temp.placeholder = obj.placeholder; if ( obj.classes !== undefined ) temp.classList = obj.classes; + if ( obj.style !== undefined ) temp.style = obj.style; if ( obj.max !== undefined ) temp.max = obj.max; if ( obj.innerText !== undefined ) temp.innerText = obj.innerText; if ( obj.innerHTML !== undefined && Array.isArray(obj.innerHTML) ) -- cgit v1.2.3