diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-11-12 18:56:47 +0200 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-11-12 18:56:47 +0200 |
commit | c8654e63d7173e5d195eccd96e478c23057afff9 (patch) | |
tree | 9a8a8e61c60737b162df7135329468457d41b4f9 /client | |
parent | a3e572302d94819707453c4c7e4d7618c6691040 (diff) | |
download | arching-kaos-radio-c8654e63d7173e5d195eccd96e478c23057afff9.tar.gz arching-kaos-radio-c8654e63d7173e5d195eccd96e478c23057afff9.tar.bz2 arching-kaos-radio-c8654e63d7173e5d195eccd96e478c23057afff9.zip |
Fixed max value
Diffstat (limited to 'client')
-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 a93199d..e6e28f5 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.max !== undefined ) temp.max = obj.max; if ( obj.innerText !== undefined ) temp.innerText = obj.innerText; if ( obj.innerHTML !== undefined && Array.isArray(obj.innerHTML) ) { |