diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-11-13 02:00:48 +0200 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-11-13 02:00:48 +0200 |
commit | b7972af4ddc45201861284065a727c44922b952f (patch) | |
tree | 068708c45b96083191d778c9edbb9258c525f105 /client/js/arching-kaos-generator.js | |
parent | 8937e4f4a1d5d5d079def0b02a4ce854fef95c6b (diff) | |
download | arching-kaos-radio-b7972af4ddc45201861284065a727c44922b952f.tar.gz arching-kaos-radio-b7972af4ddc45201861284065a727c44922b952f.tar.bz2 arching-kaos-radio-b7972af4ddc45201861284065a727c44922b952f.zip |
Updates (visual and refactoring)
Diffstat (limited to 'client/js/arching-kaos-generator.js')
-rw-r--r-- | client/js/arching-kaos-generator.js | 1 |
1 files changed, 1 insertions, 0 deletions
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) ) |