From 8f0c5a6077fd245cf74337e4fdb98445418f608c Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Thu, 11 Feb 2021 12:30:32 -0500 Subject: Index and min-content fix --- scripts/gui/input.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/gui/input.js b/scripts/gui/input.js index 2925a1f..2ceb6f3 100644 --- a/scripts/gui/input.js +++ b/scripts/gui/input.js @@ -226,7 +226,7 @@ class MakeInput { static titleWrap(el, title) { var wrapper = document.createElement("div"); wrapper.className = "input-title-wrapper"; - wrapper.setAttribute("type", el.getAttribute(type)); + wrapper.setAttribute("type", el.getAttribute("type")); wrapper.setAttribute("data-title", title); wrapper.appendChild(el); -- cgit v1.2.3