From c8654e63d7173e5d195eccd96e478c23057afff9 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Tue, 12 Nov 2024 18:56:47 +0200 Subject: Fixed max value --- client/js/arching-kaos-generator.js | 1 + 1 file changed, 1 insertion(+) (limited to 'client/js') 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) ) { -- cgit v1.2.3