summaryrefslogtreecommitdiff
path: root/scripts/gui
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2021-02-11 12:30:32 -0500
committerKyle Gunger <kgunger12@gmail.com>2021-02-11 12:30:32 -0500
commit8f0c5a6077fd245cf74337e4fdb98445418f608c (patch)
tree5d0289c5d3bb1ace7750cd9d26a586a0b8ee4ddf /scripts/gui
parent9afa0420b0d34d8484a71ae278e4dbd1630a035a (diff)
Index and min-content fix
Diffstat (limited to 'scripts/gui')
-rw-r--r--scripts/gui/input.js2
1 files changed, 1 insertions, 1 deletions
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);